LEADTOOLS Image File Support (Leadtools.Codecs assembly)
LEAD Technologies, Inc

UsePalette Property






Gets or sets a value indicating whether to use the palette when saving images to formats that require a palette. .NET support WinRT support Silverlight support
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;}
 get_UsePalette();
set_UsePalette(value);
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CodecsStartDecompressOptions Structure
CodecsStartDecompressOptions Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.