Visual Basic (Declaration) | |
---|---|
Public Function GetImageWidthDpi( _ ByVal useDpi As Boolean _ ) As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
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.Use Width to get the actual width of the image data scanlines.
For more information refer to Accounting for View Perspective.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family