Leadtools.CF Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.6.15
PreservePalette Property
See Also 
Leadtools.Codecs Namespace > CodecsTiffOptions.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 CodecsTiffOptions.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; otherwise, false.

Example

For an example, refer to CodecsTiffOptions.

Remarks

Note, this may decrease the compression ratio.

Requirements

Target Platforms: Microsoft .NET CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6

See Also