LEADTOOLS JPEG 2000 (Leadtools.Jpip.Client.WinForms assembly)
LEAD Technologies, Inc

GetResolutionSize Method






Resolution index
Gets the size of a particular resolution.
Syntax
public LeadSize GetResolutionSize( 
   int resolution
)
'Declaration
 
Public Function GetResolutionSize( _
   ByVal resolution As Integer _
) As LeadSize
'Usage
 
Dim instance As JpipRasterImageViewer
Dim resolution As Integer
Dim value As LeadSize
 
value = instance.GetResolutionSize(resolution)
public LeadSize GetResolutionSize( 
   int resolution
)
 function Leadtools.Jpip.Client.WinForms.JpipRasterImageViewer.GetResolutionSize( 
   resolution 
)
public:
LeadSize GetResolutionSize( 
   int resolution
) 

Parameters

resolution
Resolution index

Return Value

A Leadtools.LeadSize value that represents the resolution.
Remarks
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 enumerates all of the available resolution sizes for the loaded image, refer to JpipRasterImageViewer.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

JpipRasterImageViewer Class
JpipRasterImageViewer Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Jpip.Client.WinForms requires a Document or Medical license and unlock key as well as a server license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features