←Select platform

SetPalette Method

Summary

Sets the custom palette to use when converting the image.

Syntax
C#
VB
Objective-C
C++
Java
public void SetPalette( 
   RasterColor[] value 
) 
Public Sub SetPalette( _ 
   ByVal value() As RasterColor _ 
)  
@property (nonatomic, copy, nullable) NSArray<LTRasterColor *> *palette 
public void setPalette(RasterColor[] value) 
public: 
void SetPalette(  
   array<RasterColor>^ value 
)  

Parameters

value
The palette to use.

Remarks

Use the GetPalette method to get the palette to use.

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

Example

For an example, refer to ColorResolutionCommand

Requirements

Target Platforms

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly