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 )
-(void)setPalette:(NSArray*)value;
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.