Edit

Share via


MetafileFrameUnit enumeration (gdiplusenums.h)

The MetafileFrameUnit enumeration specifies the unit of measure for a metafile frame rectangle.

Syntax

typedef enum MetafileFrameUnit {
  MetafileFrameUnitPixel = UnitPixel,
  MetafileFrameUnitPoint = UnitPoint,
  MetafileFrameUnitInch = UnitInch,
  MetafileFrameUnitDocument,
  MetafileFrameUnitMillimeter,
  MetafileFrameUnitGdi
} ;

Constants

 
MetafileFrameUnitPixel
Value: UnitPixel
Specifies that a unit is 1 pixel.
MetafileFrameUnitPoint
Value: UnitPoint
Specifies that a unit is 1 point.
MetafileFrameUnitInch
Value: UnitInch
Specifies that a unit is 1 inch.
MetafileFrameUnitDocument
Specifies that a unit is 1/300 inch.
MetafileFrameUnitMillimeter
Specifies that a unit is 1 millimeter.
MetafileFrameUnitGdi
Specifies that a unit is 0.01 millimeter. This element is provided for compatibility with GDI.

Requirements

Requirement Value
Minimum supported client Windows XP, Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header gdiplusenums.h (include Gdiplus.h)