LEADTOOLS (Leadtools assembly)

GetImageWidthDpi Method

Show in webframe







true to take into account the resolution (DPI) of the image; false to ignore the DPI.
Gets the width of this RasterImage in pixels, taking ViewPerspective and XResolution into account.
Syntax
public int GetImageWidthDpi( 
   bool useDpi
)
'Declaration
 
Public Function GetImageWidthDpi( _
   ByVal useDpi As Boolean _
) As Integer
'Usage
 
Dim instance As RasterImage
Dim useDpi As Boolean
Dim value As Integer
 
value = instance.GetImageWidthDpi(useDpi)
public int GetImageWidthDpi( 
   bool useDpi
)
-(unsigned int)getImageWidthDpi:(BOOL)useDpi;
public int getImageWidthDpi(boolean useDpi)
 function Leadtools.RasterImage.GetImageWidthDpi( 
   useDpi 
)
public:
int GetImageWidthDpi( 
   bool useDpi
) 

Parameters

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

Return Value

The width of this RasterImage in pixels, taking ViewPerspective and XResolution into account.
Remarks

Use Width to get the actual width of the image data scanlines.

For more information refer to Accounting For View Perspective.

Requirements

Target Platforms

See Also

Reference

RasterImage Class
RasterImage Members

 

 


Products | Support | Contact Us | Copyright Notices

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