CurrentResolutionIndex Property

Summary

Index for the resolution of the displayed image.

Syntax
C#
VB
C++
public int CurrentResolutionIndex { get; } 
  
Public ReadOnly Property CurrentResolutionIndex As Integer 
public: 
property int CurrentResolutionIndex { 
   int get(); 
} 

Property Value

Index for the resolution of the displayed image.

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.

Example

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

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Jpip.Client.WinForms Assembly