LEADTOOLS Image File Support (Leadtools.Codecs assembly)
LEAD Technologies, Inc

GetPalette Method (CodecsLoadInformationEventArgs)






Gets the palette for uncompressed data that is 8 bits per pixel or less. .NET support WinRT support Silverlight support
Syntax
public RasterColor[] GetPalette()
'Declaration
 
Public Function GetPalette() As RasterColor()
'Usage
 
Dim instance As CodecsLoadInformationEventArgs
Dim value() As RasterColor
 
value = instance.GetPalette()
public RasterColor[] GetPalette()
 function Leadtools.Codecs.CodecsLoadInformationEventArgs.GetPalette()
public:
array<RasterColor>^ GetPalette(); 

Return Value

An array of Leadtools.RasterColor object that represents the palette for uncompressed data that is 8 bits per pixel or less.
Remarks
The first 1 >> BitsPerPixel entries in this palette is used.
Example
For an example, refer to RasterCodecs.LoadInformation.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CodecsLoadInformationEventArgs Class
CodecsLoadInformationEventArgs Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.