You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > Color Palette Management > PaletteSwapEntries Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.PaletteSwapEntries Method

Returns the color of a specific entry of the palette of a GdPicture image.

C#
public GdPictureStatus PaletteSwapEntries(
    int ImageID, 
    int Entrie1, 
    int Entrie2
);
Visual Basic
Public Function PaletteSwapEntries(
    ByVal ImageID As Integer, 
    ByVal Entrie1 As Integer, 
    ByVal Entrie2 As Integer
) As GdPictureStatus
Parameters
Parameters 
Description 
ImageID 
GdPicture Image Identifier.  
Entrie1 
Indice of the color palette to swap with the second. Must be a value between 0 and PaletteGetColorsCount() - 1 returned value.  
Entrie2 
Indice of the color palette to swap with the first. Must be a value between 0 and PaletteGetColorsCount() - 1 returned value.  
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.