Click or drag to resize

ImageList.AddMask Method (Typed)

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

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.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