Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
GetImageHeightDpi Method
See Also 
Leadtools Namespace > RasterImage Class : GetImageHeightDpi Method



useDpi
true to take into account the resolution (DPI) of the image; false to ignore the DPI.
Gets the height of this RasterImage in pixels, taking ViewPerspective and YResolution into account.

Syntax

Visual Basic (Declaration)  
Public Function GetImageHeightDpi( _
   ByVal useDpi As Boolean _
) As Integer
Visual Basic (Usage) Copy Code
Dim instance As RasterImage
Dim useDpi As Boolean
Dim value As Integer
 
value = instance.GetImageHeightDpi(useDpi)
C#  
public int GetImageHeightDpi( 
   bool useDpi
)
C++/CLI  
public:
int GetImageHeightDpi( 
   bool useDpi
) 

Parameters

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

Return Value

The height of this RasterImage in pixels, taking ViewPerspective and YResolution into account.

Remarks

Use Height to get the actual height of the image data scanlines.

For more information refer to Accounting for View Perspective.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also