Gets a Leadtools.RasterImage's dimensions corrected for resolution (DPI).
public static SizeF ImagePhysicalSize(
RasterImage image,
Graphics graphics
)
Public Shared Function ImagePhysicalSize( _
ByVal image As Leadtools.RasterImage, _
ByVal graphics As Graphics _
) As SizeF
public:
static SizeF ImagePhysicalSize(
Leadtools.RasterImage^ image,
Graphics^ graphics
)
image
The source image.
graphics
The reference System.Drawing.Graphics object.
This Leadtools.RasterImage dimensions corrected for resolution (DPI)
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+.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET