←Select platform

GetImageSizeDpi Method

Summary

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

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public LeadSize GetImageSizeDpi( 
   bool useDpi 
) 
Public Function GetImageSizeDpi( _ 
   ByVal useDpi As Boolean _ 
) As Leadtools.LeadSize 
public Leadtools.LeadSize GetImageSizeDpi(  
   bool useDpi 
) 
- (LeadSize)imageSizeWithDpi:(BOOL)useDpi 
public LeadSize getImageSizeDpi(boolean useDpi) 
 function Leadtools.RasterImage.GetImageSizeDpi(  
   useDpi  
) 
public: 
Leadtools.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 19.0.2017.10.19
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly