←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 23.0.2024.5.22
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

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