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

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

C#
public Color PaletteGetEntry(
    int ImageID, 
    int Entry
);
Visual Basic
Public Function PaletteGetEntry(
    ByVal ImageID As Integer, 
    ByVal Entry As Integer
) As Color
Parameters
Parameters 
Description 
ImageID 
GdPicture Image Identifier.  
Entry 
Indice of the color palette. Must be a value between 0 and PaletteGetColorsCount() - 1 returned value.  
Returns

Color Object. You can build a Color Object using the ARGB() function. Color of the selected entrie.

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.