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



Gets or sets the number of resolution levels in the compressed file.

Syntax

Visual Basic (Declaration) 
Public Property DecompositionLevels As Integer
Visual Basic (Usage)Copy Code
Dim instance As CodecsJpeg2000Options.CodecsJpeg2000SaveOptions
Dim value As Integer
 
instance.DecompositionLevels = value
 
value = instance.DecompositionLevels
C# 
public int DecompositionLevels {get; set;}
C++/CLI 
public:
property int DecompositionLevels {
   int get();
   void set (int value);
}

Return Value

The number of resolution levels in the compressed file.

Example

For an example, refer to CodecsJpeg2000Options.

Remarks

Passing values that are too large will cause the save operation to fail. Each resolution level is one-half the size of the previous resolution, starting with the full image resolution. The default value is 5.

Requirements

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

See Also