←Select platform

SetPalette Method

Summary

Sets the custom palette to use when converting the image.

Syntax

C#
VB
Java
Objective-C
C++
public void SetPalette( 
   RasterColor[] value 
) 
Public Sub SetPalette( _ 
   ByVal value() As Leadtools.RasterColor _ 
)  
@property (nonatomic, copy, nullable) NSArray<LTRasterColor *> *palette 
public void setPalette(RasterColor[] value) 
public: 
void SetPalette(  
   Leadtools.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 19.0.2017.10.19
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly