LEADTOOLS Image File Support (Leadtools.Codecs assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
PreservePalette Property
See Also 
Leadtools.Codecs Namespace > CodecsTiffSaveOptions Class : PreservePalette Property



Enables and disables preservation of the palette when saving TIFF CCITT files.

Syntax

Visual Basic (Declaration) 
Public Property PreservePalette As Boolean
Visual Basic (Usage)Copy Code
Dim instance As CodecsTiffSaveOptions
Dim value As Boolean
 
instance.PreservePalette = value
 
value = instance.PreservePalette
C# 
public bool PreservePalette {get; set;}
C++/CLI 
public:
property bool PreservePalette {
   bool get();
   void set (    bool value);
}

Property Value

true to enable preservation of the palette when saving TIFF CCITT files.

Example

For an example, refer to CodecsTiffOptions.

Remarks

Note, this may decrease the compression ratio.

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also