Leadtools.CF Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.6.15
GuardBits Property
See Also 
Leadtools.Codecs Namespace > CodecsJpeg2000Options.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 CodecsJpeg2000Options.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.

Example

For an example, refer to CodecsJpeg2000Options.

Remarks

This prevents coding overflow.

Requirements

Target Platforms: Microsoft .NET CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6

See Also