Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
GetPalette Method
See Also 
Leadtools.Codecs Namespace > CodecsLoadInformationEventArgs Class : GetPalette Method



Gets the palette for uncompressed data that is 8 bits per pixel or less.

Syntax

Visual Basic (Declaration) 
Public Function GetPalette() As RasterColor()
Visual Basic (Usage)Copy Code
Dim instance As CodecsLoadInformationEventArgs
Dim value() As RasterColor
 
value = instance.GetPalette()
C# 
public RasterColor[] GetPalette()
C++/CLI 
public:
array<RasterColor>^ GetPalette(); 

Return Value

An array of RasterColor object that represents the palette for uncompressed data that is 8 bits per pixel or less.

Example

For an example, refer to RasterCodecs.LoadInformation.

Remarks

The first 1 >> BitsPerPixel entries in this palette is used.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also