Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.17
NoLzwAutoClear Property
See Also 
Leadtools.Codecs Namespace > CodecsTiffSaveOptions Class : NoLzwAutoClear Property




Gets a value indicating whether to automatically insert CLEAR codes during LZW compression.

Syntax

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

Return Value

true to disable insert of CLEAR codes; otherwise, false.

Example

For an example, refer to CodecsTiffOptions.

Remarks

This option can be used when saving TIFF LZW files. To save files compatible with some buggy LZW decoders that cannot handle early CLEAR codes. Some IBM decoders are known to have this problem. They will not decode LEAD TIFF LZW files unless this property is set to true.

This property is set to false by default, which allows LEADTOOLS to insert CLEAR LZW codes and reset the LZW compression engine if the compression ratio is not adequate.

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