LEADTOOLS Image File Support (Leadtools.Codecs assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
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);
}

Property 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: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also