SelectTransparentColors

The SelectTransparentColors method sets the transparent colors in an image.

 

Syntax

object.SelectTransparentColors( pColors )

 

Parameter

Type

Description

pColors

Array of Longs

required; up to 256 colors

 

Remarks

VB users can use ReDim to set the array size to the used size if necessary or you can use SelectTransparentColors2. Use the enumeration [mvColorRed], RGB value [RGB(255,0,0)], or number [255] to set a color.

 

Example

 

 

Used by: Bitmap object