'Declaration
Public Overloads Function SwapColor( _ ByVal ImageID As Integer, _ ByVal ColorSrc As Color, _ ByVal ColorDst As Color _ ) As GdPictureStatus
public GdPictureStatus SwapColor( int ImageID, Color ColorSrc, Color ColorDst )
public function SwapColor( ImageID: Integer; ColorSrc: Color; ColorDst: Color ): GdPictureStatus;
public function SwapColor( ImageID : int, ColorSrc : Color, ColorDst : Color ) : GdPictureStatus;
public: GdPictureStatus SwapColor( int ImageID, Color ColorSrc, Color ColorDst )
public: GdPictureStatus SwapColor( int ImageID, Color ColorSrc, Color ColorDst )
Parameters
- ImageID
- GdPicture image identifier.
- ColorSrc
- Color to replace. A suitable color value can be obtained by using the ARGB() method.
- ColorDst
- Color of replacement. A suitable color value can be obtained by using the ARGB() method.
Return Value
A member of the GdPictureStatus enumeration.