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
UnitWorldSpecifies world coordinates, a nonphysical unit. |
UnitDisplaySpecifies display units. For example, if the display device is a monitor, then the unit is 1 pixel. |
UnitPixelValue: UnitPixel Specifies that a unit is 1 pixel. |
UnitPointValue: UnitPoint Specifies that a unit is 1 point or 1/72 inch. |
UnitInchValue: UnitInch Specifies that a unit is 1 inch. |
UnitDocumentSpecifies that a unit is 1/300 inch. |
UnitMillimeterSpecifies 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) |