Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The Unit enumeration specifies the unit of measure for a given data type.
Syntax
typedef enum Unit {
UnitWorld,
UnitDisplay,
UnitPixel = UnitPixel,
UnitPoint = UnitPoint,
UnitInch = UnitInch,
UnitDocument,
UnitMillimeter
} ;
Constants
UnitWorld Specifies world coordinates, a nonphysical unit. |
UnitDisplay Specifies display units. For example, if the display device is a monitor, then the unit is 1 pixel. |
UnitPixel Value: UnitPixel Specifies that a unit is 1 pixel. |
UnitPoint Value: UnitPoint Specifies that a unit is 1 point or 1/72 inch. |
UnitInch Value: UnitInch Specifies that a unit is 1 inch. |
UnitDocument Specifies that a unit is 1/300 inch. |
UnitMillimeter Specifies that a unit is 1 millimeter. |
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) |