←Select platform

GetResolutionSize Method

Summary

Gets the size of a particular resolution.

Syntax

C#
VB
C++
public LeadSize GetResolutionSize( 
   int resolution 
) 
  
Public Function GetResolutionSize( _ 
   ByVal resolution As Integer _ 
) As Leadtools.LeadSize 
public: 
Leadtools.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

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