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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family