LEADTOOLS (Leadtools assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
GetImageSizeDpi Method
See Also 
Leadtools Namespace > RasterImage Class : GetImageSizeDpi Method



useDpi
true to take into account the resolution (DPI) of the image; false to ignore the DPI.
useDpi
true to take into account the resolution (DPI) of the image; false to ignore the DPI.
Gets the size in pixels of this RasterImage object, taking YResolution into account. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Function GetImageSizeDpi( _
   ByVal useDpi As Boolean _
) As LeadSize
Visual Basic (Usage)Copy Code
Dim instance As RasterImage
Dim useDpi As Boolean
Dim value As LeadSize
 
value = instance.GetImageSizeDpi(useDpi)
C# 
public LeadSize GetImageSizeDpi( 
   bool useDpi
)
C++/CLI 
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: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7

See Also