VLPropertyList Reference

Read/Write PropertyPictureMaskColor

See Also See Also Applies To Applies To

Returns or sets the color that determines the transparent region of the bitmap assigned to a CProperty object.

 

Syntax

object.PictureMaskColor [=color]

 

The PictureMaskColor property syntax has these parts:

Part Description
object An object expression that evaluates to the objects in Applies to list.
color A value or constant that determines the color to be used as a mask.

 

Remarks

When a bitmap is assigned to the Picture property of a Property, the background pixels show through wherever the bitmap pixel colors match the PictureMaskColor property.

If the specified Picture is an ICON, then this property will not have any effect on it, as you can specify the transparency in the picture itself.