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

Gets into a 1D array the complete color palette of a GdPicture image.

C#
public GdPictureStatus PaletteGet(
    int ImageID, 
    ref Color ColorEntries, 
    ref int EntriesCount
);
Visual Basic
Public Function PaletteGet(
    ByVal ImageID As Integer, 
    ByRef ColorEntries() As Color, 
    ByRef EntriesCount As Integer
) As GdPictureStatus
Parameters
Parameters 
Description 
ImageID 
GdPicture Image Identifier.  
ColorEntries 
Output parameter. Array of Color Objects. Color array which will contains the complete color palette.  
EntriesCount 
Output parameter. Contains the number of color contained into the ColorEntries() array.  
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.