- palette
- An array of Leadtools.RasterColor object that represents the palette for uncompressed data that is 8 bits per pixel or less.
| Visual Basic (Declaration) | |
|---|---|
Public Sub SetPalette( _ ByVal palette() As RasterColor _ ) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As CodecsLoadInformationEventArgs Dim palette() As RasterColor instance.SetPalette(palette) | |
| C# | |
|---|---|
public void SetPalette( RasterColor[] palette ) | |
| C++/CLI | |
|---|---|
public: void SetPalette( array<RasterColor>^ palette ) | |
Parameters
- palette
- An array of Leadtools.RasterColor object that represents the palette for uncompressed data that is 8 bits per pixel or less.
For an example, refer to RasterCodecs.LoadInformation.
Fill in the first 1 >> BitsPerPixel entries in this palette.
Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)
Copy Code