Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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);
}

Return 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: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also