You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > Multiframe GIF Manipulation > GifSetTransparency Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.GifSetTransparency Method

Sets the transparency color for a GdPicture image. 

If the specified GdPicture image is an editable multiframe gif image, you should this function for each frame of the image.

C#
public GdPictureStatus GifSetTransparency(
    int ImageID, 
    Color TransparentColor
);
Visual Basic
Public Function GifSetTransparency(
    ByVal ImageID As Integer, 
    ByVal TransparentColor As Color
) As GdPictureStatus
Parameters
Parameters 
Description 
ImageID 
GdPicture Image Identifier.  
TransparentColor 
Color Object. You can build a Color Object using the ARGB() function. Color to set as transparent.  
Returns

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.