Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
SetPalette Method
See Also 
Leadtools.ImageProcessing Namespace > ColorResolutionCommand Class : SetPalette Method




value
The palette to use.
Sets the custom palette to use when converting the image.

Syntax

Visual Basic (Declaration) 
Public Sub SetPalette( _
   ByVal value() As RasterColor _
) 
Visual Basic (Usage)Copy Code
Dim instance As ColorResolutionCommand
Dim value() As RasterColor
 
instance.SetPalette(value)
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.

Example

For an example, refer to ColorResolutionCommand

Remarks

Use the GetPalette method to get the palette to use.

The custom palette to use. Specify this parameter as follows:

Requirements

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

See Also