Visual Basic (Declaration) | |
---|---|
Public ReadOnly Property CurrentImageSize As Size |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public Size CurrentImageSize {get;} |
Return Value
A Size value that represents the size of the image at the current resolution.This example display this value after zooming
For an example, refer to JpipRasterImageViewer.
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.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family