←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
WinRT C#
C++
public int GetImageHeightDpi( 
   bool useDpi 
) 
Public Function GetImageHeightDpi( _ 
   ByVal useDpi As Boolean _ 
) As Integer 
public int GetImageHeightDpi(  
   bool useDpi 
) 
- (NSInteger)imageHeightWithDpi:(BOOL)useDpi 
public int getImageHeightDpi(boolean useDpi) 
 function Leadtools.RasterImage.GetImageHeightDpi(  
   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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly