![]() |
Sets a color as transparent on a GdPicture image or into an area of a GdPicture image defined by SetROI() function.
This function takes a percentage threshold parameter regarding the color to set as transparent.
Ie: A threshold value of 90 means that all the color which are near than 90% of the color parameter will be considered.
public GdPictureStatus SetTransparencyColor( int ImageID, Color TransparentColor, Single Threshold );
Public Function SetTransparencyColor( ByVal ImageID As Integer, ByVal TransparentColor As Color, ByVal Threshold As Single ) As GdPictureStatus
|
Parameters |
Description |
|
ImageID |
GdPicture Image Identifier. |
|
TransparentColor |
A Color Object. You can build a Color Object using the ARGB() function. Color to set as transparent. |
|
Threshold |
percentage threshold between 0 and 100. |
A member of the GdPictureStatus enumeration.
|
What do you think about this topic? Send feedback!
|
|
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.
|