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




Returns the maximum number of resolutions supported by LEAD J2K.

Syntax

Visual Basic (Declaration) 
Public Shared ReadOnly Property MaximumDecompressionLevels As Integer
Visual Basic (Usage)Copy Code
Dim value As Integer
 
value = CodecsJpeg2000SaveOptions.MaximumDecompressionLevels
C# 
public static int MaximumDecompressionLevels {get;}
Managed Extensions for C++ 
public: __property static int get_MaximumDecompressionLevels();
C++/CLI 
public:
static property int MaximumDecompressionLevels {
   int get();
}

Return Value

The maximum number of resolutions supported by LEAD J2K.

Example

For an example, refer to CodecsJpeg2000Options.

Remarks

The maximum number of levels depends on the size of the image. 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 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