Visual Basic (Declaration) | |
---|---|
Public Function ImagePhysicalSize( _ ByVal graphics As Graphics _ ) As SizeF |
Visual Basic (Usage) | Copy Code |
---|---|
|
Parameters
- graphics
- The reference Graphics object.
Return Value
This RasterImage dimensions corrected for resolution (DPI)For an example, refer to RasterImage.
The XResolution and YResolution properties return the physical size of this
RasterImage in dots per inch (DPI). This method returns the image size in pixels if it was to be drawn
into the given Graphics object.
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