GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / SetTransparencyColor Method / SetTransparencyColor(Int32,Color) 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,Color) 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 Color _
) As GdPictureStatus
public GdPictureStatus SetTransparencyColor( 
   int ImageID,
   Color TransparentColor
)
public function SetTransparencyColor( 
    ImageID: Integer;
    TransparentColor: Color
): GdPictureStatus; 
public function SetTransparencyColor( 
   ImageID : int,
   TransparentColor : Color
) : GdPictureStatus;
public: GdPictureStatus SetTransparencyColor( 
   int ImageID,
   Color TransparentColor
) 
public:
GdPictureStatus SetTransparencyColor( 
   int ImageID,
   Color 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