GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureImaging Class / SetTransparencyColor Method / SetTransparencyColor(Int32,GdPictureColor) Method
GdPicture image identifier.
Color to set as transparent. A suitable color value can be obtained by using the ARGB() method.





In This Topic
SetTransparencyColor(Int32,GdPictureColor) Method
In This Topic
Sets a color as transparent in a GdPicture image or in an area of a GdPicture image defined by SetROI() method.
Syntax
'Declaration
 
Public Overloads Function SetTransparencyColor( _
   ByVal ImageID As Integer, _
   ByVal TransparentColor As GdPictureColor _
) As GdPictureStatus
public GdPictureStatus SetTransparencyColor( 
   int ImageID,
   GdPictureColor TransparentColor
)
public function SetTransparencyColor( 
    ImageID: Integer;
    TransparentColor: GdPictureColor
): GdPictureStatus; 
public function SetTransparencyColor( 
   ImageID : int,
   TransparentColor : GdPictureColor
) : GdPictureStatus;
public: GdPictureStatus SetTransparencyColor( 
   int ImageID,
   GdPictureColor TransparentColor
) 
public:
GdPictureStatus SetTransparencyColor( 
   int ImageID,
   GdPictureColor TransparentColor
) 

Parameters

ImageID
GdPicture image identifier.
TransparentColor
Color to set as transparent. A suitable color value can be obtained by using the ARGB() method.

Return Value

A member of the GdPictureStatus enumeration.
See Also