←Select platform

GetImageSizeDpi Method

Summary
Gets the size in pixels of this RasterImage object, taking YResolution into account.
Syntax
C#
VB
Objective-C
C++
Java
public LeadSize GetImageSizeDpi( 
   bool useDpi 
) 
Public Function GetImageSizeDpi( _ 
   ByVal useDpi As Boolean _ 
) As LeadSize 
- (LeadSize)imageSizeWithDpi:(BOOL)useDpi 
public LeadSize getImageSizeDpi(boolean useDpi) 
public: 
LeadSize GetImageSizeDpi(  
   bool useDpi 
)  

Parameters

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

Return Value

The size in pixels of this RasterImage object, taking YResolution into account.

Remarks

The size in pixels is Width by Height pixels.

Requirements

Target Platforms

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

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