Visual Basic (Declaration) | |
---|---|
Public Sub SetPalette( _ ByVal value() As RasterColor _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public void SetPalette( RasterColor[] value ) |
Managed Extensions for C++ | |
---|---|
public: void SetPalette( RasterColor[]* value ) |
C++/CLI | |
---|---|
public: void SetPalette( array<RasterColor>^ value ) |
Parameters
- value
- The palette to use.
For an example, refer to ColorResolutionCommand
Use the GetPalette method to get 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 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family