←Select platform

GetImageHeightDpi Method

Summary
Gets the height of this RasterImage in pixels, taking ViewPerspective and YResolution into account.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public int GetImageHeightDpi( 
   bool useDpi 
) 
- (NSInteger)imageHeightWithDpi:(BOOL)useDpi 
public int getImageHeightDpi( 
   boolean booleanValue 
); 
public: 
int GetImageHeightDpi(  
   bool useDpi 
)  
def GetImageHeightDpi(self,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 22.0.2023.5.16
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.