←Select platform

GetImageHeightDpi Method

Summary

Gets the height of this RasterImage in pixels, taking ViewPerspective and YResolution into account.

Syntax
C#
VB
Java
Objective-C
C++
public int GetImageHeightDpi( 
   bool useDpi 
) 
Public Function GetImageHeightDpi( _ 
   ByVal useDpi As Boolean _ 
) As Integer 
- (NSInteger)imageHeightWithDpi:(BOOL)useDpi 
public int getImageHeightDpi(boolean useDpi) 
public: 
int GetImageHeightDpi(  
   bool useDpi 
)  

Parameters

useDpi
true to take into account the resolution (DPI) of the image; false to ignore the DPI.

Return Value

The height of this RasterImage in pixels, taking ViewPerspective and YResolution into account.

Remarks

Use Height to get the actual height of the image data scanlines.

For more information refer to Accounting For View Perspective.

Requirements

Target Platforms

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

Leadtools Assembly