LEADTOOLS Image File Support (Leadtools.Codecs assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
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: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also