Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.17
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;}
Managed Extensions for C++ 
public: __property bool get_PreservePalette();
public: __property void set_PreservePalette( 
   bool value
);
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 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also