SetTransparencyColor(Int32,GdPictureColor,Single) Method
Sets a color as transparent in a GdPicture image or in area of a GdPicture image defined by SetROI()
method.
This method takes a percentage threshold parameter regarding the color to set as transparent.
Ie: A threshold value of 90 means that all the color value which are within 90% of the color value
parameter will be considered.
'Declaration
Public Overloads Function SetTransparencyColor( _
ByVal As Integer, _
ByVal As GdPictureColor, _
ByVal As Single _
) As GdPictureStatus
Parameters
- ImageID
- GdPicture image identifier.
- TransparentColor
- Color to set as transparent. A suitable color value can be obtained by using the ARGB() method.
- Threshold
- Percentage threshold between 0 and 100.
Return Value
A member of the GdPictureStatus enumeration.