LEADTOOLS (Leadtools assembly)
LEAD Technologies, Inc

GetImageHeightDpi Method






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. .NET support Silverlight support WinRT support
Syntax
public int GetImageHeightDpi( 
   bool useDpi
)
'Declaration
 
Public Function GetImageHeightDpi( _
   ByVal useDpi As Boolean _
) As Integer
'Usage
 
Dim instance As RasterImage
Dim useDpi As Boolean
Dim value As Integer
 
value = instance.GetImageHeightDpi(useDpi)
public int GetImageHeightDpi( 
   bool useDpi
)
 function Leadtools.RasterImage.GetImageHeightDpi( 
   useDpi 
)
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterImage Class
RasterImage Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.