GpUnit enumeration

Specifies the unit of measure of a coordinate, a size or a pen width.

Member Value Description
UnitWorld 0 World coordinates, a non-physical unit.
UnitDisplay 1 The unit of the display device. On a monitor it is one pixel. GDI+ accepts it only as the page unit of a Graphics.
UnitPixel 2 One device pixel.
UnitPoint 3 A printer’s point, 1/72 inch.
UnitInch 4 One inch.
UnitDocument 5 A document unit, 1/300 inch.
UnitMillimeter 6 One millimetre.

Used by

See Also