Image.PhysicalDimension Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: