←Select platform

GetImageHeightDpi Method

Summary

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

Syntax
C#
VB
Objective-C
C++
Java
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.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly