←Select platform

SetPalette Method

Summary

Sets the palette for uncompressed data that is 8 bits per pixel or less.

Syntax

C#
VB
Java
WinRT C#
C++
public void SetPalette( 
   RasterColor[] palette 
) 
Public Sub SetPalette( _ 
   ByVal palette() As Leadtools.RasterColor _ 
)  
public void SetPalette(  
   Leadtools.RasterColor[] palette 
) 
public void setPalette(RasterColor[] palette) 
 function Leadtools.Codecs.CodecsLoadInformationEventArgs.SetPalette(  
   palette  
) 
public: 
void SetPalette(  
   Leadtools.array<RasterColor>^ palette 
)  

Parameters

palette
An array of RasterColor object that represents the palette for uncompressed data that is 8 bits per pixel or less.

Remarks

Fill in the first 1 >> BitsPerPixel entries in this palette.

Example

For an example, refer to RasterCodecs.LoadInformation.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly