Leadtools.Codecs Namespace > CodecsStartDecompressOptions Structure : SetPalette Method |
public void SetPalette( RasterColor[] palette )
'Declaration Public Sub SetPalette( _ ByVal palette() As RasterColor _ )
'Usage Dim instance As CodecsStartDecompressOptions Dim palette() As RasterColor instance.SetPalette(palette)
public void SetPalette( RasterColor[] palette )
function Leadtools.Codecs.CodecsStartDecompressOptions.SetPalette( palette )
public: void SetPalette( array<RasterColor>^ palette )
The toolkit will use the first 2 >> BitsPerPixel entries from the palette.
The UsePalette property must be set to true in order for the decompress operation to use the palette.
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