Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.3.23
|
public static SizeF ImagePhysicalSize( RasterImage image, Graphics graphics )
'Declaration
Public Shared Function ImagePhysicalSize( _ ByVal image As RasterImage, _ ByVal graphics As Graphics _ ) As SizeF
'Usage
Dim image As RasterImage Dim graphics As Graphics Dim value As SizeF value = RasterImageConverter.ImagePhysicalSize(image, graphics)
public: static SizeF ImagePhysicalSize( RasterImage^ image, Graphics^ graphics )
The RasterImage.XResolution and RasterImage.YResolution properties return the physical size of the Leadtools.RasterImage in dots per inch (DPI). This method returns the image size in pixels if it was to be drawn into the given System.Drawing.Graphics object.
For more information refer to RasterImage and GDI/GDI+.