GdPicture.NET.14.API
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 GdPictureColor _
) As GdPictureStatus
public GdPictureStatus GifSetTransparency( 
   int ImageID,
   GdPictureColor TransparentColor
)
public function GifSetTransparency( 
    ImageID: Integer;
    TransparentColor: GdPictureColor
): GdPictureStatus; 
public function GifSetTransparency( 
   ImageID : int,
   TransparentColor : GdPictureColor
) : GdPictureStatus;
public: GdPictureStatus GifSetTransparency( 
   int ImageID,
   GdPictureColor TransparentColor
) 
public:
GdPictureStatus GifSetTransparency( 
   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