Error processing SSI file
LEADTOOLS Image File Support (Leadtools.Codecs assembly)

Show in webframe

UsePalette Property








Gets or sets a value indicating whether to use the palette when saving images to formats that require a palette.
Syntax
public bool UsePalette {get; set;}
'Declaration
 
Public Property UsePalette As Boolean
'Usage
 
Dim instance As CodecsStartDecompressOptions
Dim value As Boolean
 
instance.UsePalette = value
 
value = instance.UsePalette
public bool UsePalette {get; set;}
@property (nonatomic, assign) BOOL usePalette
public boolean getUsePalette()
public void setUsePalette(boolean value)
            
 <br/>get_UsePalette();<br/>set_UsePalette(value);<br/>Object.defineProperty('UsePalette'); 
public:
property bool UsePalette {
   bool get();
   void set (    bool value);
}

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

See Also

Reference

CodecsStartDecompressOptions Structure
CodecsStartDecompressOptions Members

Error processing SSI file