Visual Basic (Declaration) | |
---|---|
Public Function GetPalette() As RasterColor() |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public RasterColor[] GetPalette() |
C++/CLI | |
---|---|
public: array<RasterColor>^ GetPalette(); |
Return Value
The custom palette to use when converting the image.For an example, refer to ColorResolutionCommand
Use the SetPalette method to set the palette to use.
The custom palette to use. Specify this parameter as follows:
If you want to use the fixed palette or a fully optimized palette, pass a null reference (Nothing in Visual Basic) in this property. If you want to supply the entire palette, specify ColorResolutionCommandPaletteFlags.UsePalette in the PaletteFlags property and set this property. Click here to see how to fill in the palette. If you want the command to fill part of your palette with optimized colors, specify ColorResolutionCommandPaletteFlags.Optimized in the PaletteFlags property and set this property. Click here to see how to fill in the palette.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family