Leadtools.Jpip.Client.WinForms Requires JPIP Module product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
CurrentResolutionIndex Property
See Also 
Leadtools.Jpip.Client.WinForms Namespace > JpipRasterImageViewer Class : CurrentResolutionIndex Property



Index for the resolution of the displayed image.

Syntax

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

Return Value

Index for the resolution of the displayed image.

Example

This example displays the resolution index after ZoomIn has been called. For an example, refer to JpipRasterImageViewer.

Remarks

The index can range from 0 through (NumberOfResolutions -1). A resolution index equal to zero represents the highest resolution and the NumberOfResolutions represents the lowest resolution. So if the NumberOfResolutions equals 3 and the image size is 200x100, then this function will return 200x100 when the resolution index equals zero, 100x50 when the resolution index equals 1, and 50x25 when the resolution index equals 2.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

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