←Select platform

GetImageSizeDpi Method

Summary
Gets the size in pixels of this RasterImage object, taking YResolution into account.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public LeadSize GetImageSizeDpi( 
   bool useDpi 
) 
- (LeadSize)imageSizeWithDpi:(BOOL)useDpi 
public LeadSize getImageSizeDpi( 
   boolean useDpi 
); 
public: 
LeadSize GetImageSizeDpi(  
   bool useDpi 
)  
def GetImageSizeDpi(self,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 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.