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





In This Topic
GifSetTransparency Method (GdPictureImaging)
In This Topic
Sets the transparency color for a Gif GdPicture image. If the specified GdPicture image is an editable multiframe gif image, you should use this method for each frame of the image.
Syntax
'Declaration
 
Public Function GifSetTransparency( _
   ByVal ImageID As Integer, _
   ByVal TransparentColor As Color _
) As GdPictureStatus
public GdPictureStatus GifSetTransparency( 
   int ImageID,
   Color TransparentColor
)
public function GifSetTransparency( 
    ImageID: Integer;
    TransparentColor: Color
): GdPictureStatus; 
public function GifSetTransparency( 
   ImageID : int,
   TransparentColor : Color
) : GdPictureStatus;
public: GdPictureStatus GifSetTransparency( 
   int ImageID,
   Color TransparentColor
) 
public:
GdPictureStatus GifSetTransparency( 
   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