LEADTOOLS JPEG 2000 (Leadtools.Jpip.Client.WinForms assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
CurrentImageSize Property
See Also 
Leadtools.Jpip.Client.WinForms Namespace > JpipRasterImageViewer Class : CurrentImageSize Property



The CurrentImageSize Property includes members that are available as an add-on to the LEADTOOLS Imaging Pro, Document, and Medical Imaging toolkits.

Gets the size of the image at the current resolution.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property CurrentImageSize As LeadSize
Visual Basic (Usage)Copy Code
Dim instance As JpipRasterImageViewer
Dim value As LeadSize
 
value = instance.CurrentImageSize
C# 
public LeadSize CurrentImageSize {get;}
C++/CLI 
public:
property LeadSize CurrentImageSize {
   LeadSize get();
}

Property Value

A Leadtools.LeadSize value that represents the size of the image at the current resolution.

Example

This example display this value after zooming For an example, refer to JpipRasterImageViewer.

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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Jpip.Client.WinForms requires a JPIP Module and a server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features