UnitType class
UnitType class
Specifies the unit of measurement.
The UnitType type exposes the following members:
Properties
Property | Description |
---|---|
EM | Measurement is relative to the height of the parent element’s font. |
EX | Measurement is relative to the height of the lowercase letter x of the parent element’s font. |
CH | Measurement is relative to width of the “0” (zero). |
REM | Measurement is relative to font-size of the root element. |
VW | Measurement is relative to 1% of the width of the viewport* |
VH | Measurement is relative to 1% of the height of the viewport* Try it |
VMIN | Measurement is relative to 1% of viewport’s* smaller dimension Try it |
VMAX | Measurement is relative to 1% of viewport’s* larger dimension Try it |
CM | Measurement is in centimeters |
MM | Measurement is in millimeters |
Q | Measurement is in quarter-millimeters |
IN | Measurement is in inches |
PC | Measurement is in picas |
PT | Measurement is in points |
PX | Measurement is in pixels |
DEG | Measurement is in degrees. |
GRAD | Measurement is in gradians. |
RAD | Measurement is in radians. |
TURN | Measurement is in turns. |
S | Measurement is in seconds. |
MS | Measurement is in milliseconds. |
HZ | Measurement is in hertz. |
K_HZ | Measurement is in kiloHertz. |
DPI | Measurement is in dots per inch. |
DPCM | Measurement is in dots per centimeters. |
DPPX | Measurement is in Dots per pixels unit. |
AUTO | Measurement is not defined. |
PERCENTAGE | Measurement is in percentage. |
INTEGER | Measurement is an integer number. |
REAL | Measurement is a real number. |
Methods
Method | Description |
---|---|
equals | Determines whether the specified UnitType , is equal to this instance. |
See Also
- module
aspose.html.drawing
- class
UnitType