Sets the palette used for uncompressed data that is 8 bits per pixel or less.
public void SetPalette(
RasterColor[] palette
)
Public Sub SetPalette( _
ByVal palette() As Leadtools.RasterColor _
)
public void SetPalette(
Leadtools.RasterColor[] palette
)
@property (nonatomic, strong, nullable) NSArray<LTRasterColor *> *palette
public void setPalette(RasterColor palette[])
function Leadtools.Codecs.CodecsStartDecompressOptions.SetPalette(
palette
)
public:
void SetPalette(
Leadtools.array<RasterColor>^ palette
)
palette
An array of RasterColor structures that represents the palette used for uncompressed data that is 8 bits per pixel or less
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.
For an example, refer to RasterCodecs.StartDecompress.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET