LEADTOOLS Image File Support (Leadtools.Codecs assembly)

UsePalette Property

Show in webframe







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)
            
 
get_UsePalette();
set_UsePalette(value);
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 Leadtools.RasterImage's own palette.
Example
For an example, refer to RasterCodecs.StartDecompress.
Requirements

Target Platforms

See Also

Reference

CodecsStartDecompressOptions Structure
CodecsStartDecompressOptions Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.