←Select platform

UsePalette Property

Summary
Gets or sets a value indicating whether to use the palette when saving images to formats that require a palette.
Syntax
C#
VB
Objective-C
C++
Java
public bool UsePalette { get; set; } 
Public Property UsePalette As Boolean 
@property (nonatomic, assign) BOOL usePalette 
public boolean getUsePalette() 
public void setUsePalette(boolean value) 
public: 
property bool UsePalette { 
   bool get(); 
   void set (    bool ); 
} 

Property Value

true to use the palette set in SetPalette, false to use the RasterImage's own palette.

Example

For an example, refer to RasterCodecs.StartDecompress.

Requirements

Target Platforms

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

Leadtools.Codecs Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.