PhysicalDimension Property

Image.PhysicalDimension Property

 

Gets the width and height of this image.

Namespace:   System.Drawing
Assembly:  System.Drawing (in System.Drawing.dll)

public SizeF PhysicalDimension { get; }

Property Value

Type: System.Drawing.SizeF

A SizeF structure that represents the width and height of this Image.

If the image is a bitmap, the width and height are returned in pixels. If the image is a metafile, the width and height are returned in 0.01 millimeter units.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft