
## UnitType class

Specifies the unit of measurement.



The UnitType type exposes the following members:

### Properties
| Property | Description |
| :- | :- |
| [EM](/svg/python-net/aspose.svg.drawing/unittype/em) | Measurement is relative to the height of the parent element's font. |
| [EX](/svg/python-net/aspose.svg.drawing/unittype/ex) | Measurement is relative to the height of the lowercase letter x of the parent element's font. |
| [CH](/svg/python-net/aspose.svg.drawing/unittype/ch) | Measurement is relative to width of the "0" (zero). |
| [REM](/svg/python-net/aspose.svg.drawing/unittype/rem) | Measurement is relative to font-size of the root element. |
| [VW](/svg/python-net/aspose.svg.drawing/unittype/vw) | Measurement is relative to 1% of the width of the viewport* |
| [VH](/svg/python-net/aspose.svg.drawing/unittype/vh) | Measurement is relative to 1% of the height of the viewport* Try it |
| [VMIN](/svg/python-net/aspose.svg.drawing/unittype/vmin) | Measurement is relative to 1% of viewport's* smaller dimension Try it |
| [VMAX](/svg/python-net/aspose.svg.drawing/unittype/vmax) | Measurement is relative to 1% of viewport's* larger dimension Try it |
| [CM](/svg/python-net/aspose.svg.drawing/unittype/cm) | Measurement is in centimeters |
| [MM](/svg/python-net/aspose.svg.drawing/unittype/mm) | Measurement is in millimeters |
| [Q](/svg/python-net/aspose.svg.drawing/unittype/q) | Measurement is in quarter-millimeters |
| [IN](/svg/python-net/aspose.svg.drawing/unittype/in) | Measurement is in inches |
| [PC](/svg/python-net/aspose.svg.drawing/unittype/pc) | Measurement is in picas |
| [PT](/svg/python-net/aspose.svg.drawing/unittype/pt) | Measurement is in points |
| [PX](/svg/python-net/aspose.svg.drawing/unittype/px) | Measurement is in pixels |
| [DEG](/svg/python-net/aspose.svg.drawing/unittype/deg) | Measurement is in degrees. |
| [GRAD](/svg/python-net/aspose.svg.drawing/unittype/grad) | Measurement is in gradians. |
| [RAD](/svg/python-net/aspose.svg.drawing/unittype/rad) | Measurement is in radians. |
| [TURN](/svg/python-net/aspose.svg.drawing/unittype/turn) | Measurement is in turns. |
| [S](/svg/python-net/aspose.svg.drawing/unittype/s) | Measurement is in seconds. |
| [MS](/svg/python-net/aspose.svg.drawing/unittype/ms) | Measurement is in milliseconds. |
| [HZ](/svg/python-net/aspose.svg.drawing/unittype/hz) | Measurement is in hertz. |
| [K_HZ](/svg/python-net/aspose.svg.drawing/unittype/k_hz) | Measurement is in kiloHertz. |
| [DPI](/svg/python-net/aspose.svg.drawing/unittype/dpi) | Measurement is in dots per inch. |
| [DPCM](/svg/python-net/aspose.svg.drawing/unittype/dpcm) | Measurement is in dots per centimeters. |
| [DPPX](/svg/python-net/aspose.svg.drawing/unittype/dppx) | Measurement is in Dots per pixels unit. |
| [AUTO](/svg/python-net/aspose.svg.drawing/unittype/auto) | Measurement is not defined. |
| [PERCENTAGE](/svg/python-net/aspose.svg.drawing/unittype/percentage) | Measurement is in percentage. |
| [INTEGER](/svg/python-net/aspose.svg.drawing/unittype/integer) | Measurement is an integer number. |
| [REAL](/svg/python-net/aspose.svg.drawing/unittype/real) | Measurement is a real number. |


### Methods
| Method | Description |
| :- | :- |
| [equals](/svg/python-net/aspose.svg.drawing/unittype/equals/#aspose.svg.drawing.UnitType) | Determines whether the specified [`UnitType`](/svg/python-net/aspose.svg.drawing/unittype), is equal to this instance. |



### See Also
* module [`aspose.svg.drawing`](..)
* class [`UnitType`](/svg/python-net/aspose.svg.drawing/unittype)
