Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.17
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()
Managed Extensions for 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 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also