LEADTOOLS JPEG 2000 (Leadtools.Jpip.Client.WinForms assembly)
LEAD Technologies, Inc

NumberOfResolutions Property






Gets the number of resolutions available in the loaded JPEG2000 file.
Syntax
public int NumberOfResolutions {get;}
'Declaration
 
Public ReadOnly Property NumberOfResolutions As Integer
'Usage
 
Dim instance As JpipRasterImageViewer
Dim value As Integer
 
value = instance.NumberOfResolutions
public int NumberOfResolutions {get;}
 get_NumberOfResolutions(); 
public:
property int NumberOfResolutions {
   int get();
}

Property Value

An integer that represents the number of resolutions available in the loaded JPEG2000 file.
Remarks
JPEG2000 is a multi-resolution file. The number of resolutions is set when the file is saved. Most files are saved with at least five resolutions. The first resolution (highest resolution) represents the full image size, the size of the second will be half of the dimensions of the first (half of the width and half of the height), the size of the third will be a quarter the dimensions of the first, and so on. For a file with five resolutions, it is necessary to zoom in five times in order to get to the full resolution.
Example
For an example that displays this value after loading a file, refer to JpipRasterImageViewer.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

JpipRasterImageViewer Class
JpipRasterImageViewer Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Jpip.Client.WinForms requires a Document or Medical license and unlock key as well as a server license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features