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




Gets or sets the number of extra bits to consider when encoding an image.

Syntax

Visual Basic (Declaration) 
Public Property GuardBits As Integer
Visual Basic (Usage)Copy Code
Dim instance As CodecsJpeg2000SaveOptions
Dim value As Integer
 
instance.GuardBits = value
 
value = instance.GuardBits
C# 
public int GuardBits {get; set;}
Managed Extensions for C++ 
public: __property int get_GuardBits();
public: __property void set_GuardBits( 
   int value
);
C++/CLI 
public:
property int GuardBits {
   int get();
   void set (int value);
}

Return Value

Possible values are 0 - 7. The default is 2. A value of 2 or 1 will produce the best compression.

Example

For an example, refer to CodecsJpeg2000Options.

Remarks

This prevents coding overflow.

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