←Select platform

CurrentImageSize Property

Summary

Gets the size of the image at the current resolution.

Syntax

C#
VB
C++
public LeadSize CurrentImageSize { get; } 
  
Public ReadOnly Property CurrentImageSize As Leadtools.LeadSize 
public: 
property Leadtools.LeadSize CurrentImageSize { 
   Leadtools.LeadSize get(); 
} 

Property Value

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

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 zooming, refer to JpipRasterImageViewer.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Jpip.Client.WinForms Assembly