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 > CodecsImageInfo Class : GetPalette Method



Gets the images's palette.

Syntax

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

Example

For an example, refer to CodecsImageInfo.

Remarks

The palette is only used when loading RAW files.

Requirements

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

See Also