The SelectTransparentColors2 method sets the transparent colors in a image. This method is the same as the SelectTransparentColors method, except it takes the pointer to the array. VB users may want to call this method instead of SelectTransparentColors. Note: Golden Software does not officially support VB.
Syntax
object.SelectTransparentColors2( 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. Use the enumeration [mvColorRed], RGB value [RGB(255,0,0)], or number [255] to set a color.
Example
Used by: Bitmap object