Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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;}
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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also