Click or drag to resize

ImageList.AddMask Method

X#
Adds an image or images to an image list and generates a mask from the specified bitmap.

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD AddMask(
	oBitmap,
	oMaskColor
) AS USUAL CLIPPER
Request Example View Source

Parameters

oBitmap (Optional)
Type: Usual
The bitmap object to use for the ImageList mask.
oMaskColor (Optional)
Type: Usual
The color of the mask.

Return Value

Type: Usual
The index of the first new image, if successful; otherwise, -1.
See Also