Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MetafileFrameUnit Enumeration

MetafileFrameUnit Enumeration

Specifies the unit of measurement for the rectangle used to size and position a metafile. This is specified during the creation of the Metafile object.

Namespace: System.Drawing.Imaging
Assembly: System.Drawing (in system.drawing.dll)

public enum MetafileFrameUnit
public enum MetafileFrameUnit
public enum MetafileFrameUnit

 Member nameDescription
DocumentThe unit of measurement is 1/300 of an inch. 
GdiCompatibleThe unit of measurement is 0.01 millimeter. Provided for compatibility with GDI. 
InchThe unit of measurement is 1 inch. 
MillimeterThe unit of measurement is 1 millimeter. 
PixelThe unit of measurement is 1 pixel. 
PointThe unit of measurement is 1 printer's point. 

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

© 2015 Microsoft