public static SizeF ImagePhysicalSize(
RasterImage image,
Graphics graphics
)
public:
static SizeF ImagePhysicalSize(
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+.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document