UnitType Class
Contents
[
Hide
]UnitType class
Specifies the unit of measurement.
public sealed class UnitType : IEquatable<UnitType>
Methods
| Name | Description |
|---|---|
| equals(object) | Determines whether the specified Object, is equal to this instance. |
| equals(UnitType) | Determines whether the specified UnitType, is equal to this instance. |
| getHashCode() | Returns a hash code for this instance. |
| toString() | Returns a String that represents this instance. |
| operator == | |
| explicit operator | |
| implicit operator | |
| operator != |
Fields
| Name | Description |
|---|---|
| static readonly Auto | Measurement is not defined. |
| static readonly Ch | Measurement is relative to width of the “0” (zero). |
| static readonly Cm | Measurement is in centimeters |
| static readonly Deg | Measurement is in degrees. |
| static readonly Dpcm | Measurement is in dots per centimeters. |
| static readonly Dpi | Measurement is in dots per inch. |
| static readonly Dppx | Measurement is in Dots per pixels unit. |
| static readonly Em | Measurement is relative to the height of the parent element’s font. |
| static readonly Ex | Measurement is relative to the height of the lowercase letter x of the parent element’s font. |
| static readonly Grad | Measurement is in gradians. |
| static readonly Hz | Measurement is in hertz. |
| static readonly In | Measurement is in inches |
| static readonly Integer | Measurement is an integer number. |
| static readonly KHz | Measurement is in kiloHertz. |
| static readonly Mm | Measurement is in millimeters |
| static readonly Ms | Measurement is in milliseconds. |
| static readonly Pc | Measurement is in picas |
| static readonly Percentage | Measurement is in percentage. |
| static readonly Pt | Measurement is in points |
| static readonly Px | Measurement is in pixels |
| static readonly Q | Measurement is in quarter-millimeters |
| static readonly Rad | Measurement is in radians. |
| static readonly Real | Measurement is a real number. |
| static readonly Rem | Measurement is relative to font-size of the root element. |
| static readonly S | Measurement is in seconds. |
| static readonly Turn | Measurement is in turns. |
| static readonly Vh | Measurement is relative to 1% of the height of the viewport* Try it |
| static readonly Vmax | Measurement is relative to 1% of viewport’s* larger dimension Try it |
| static readonly Vmin | Measurement is relative to 1% of viewport’s* smaller dimension Try it |
| static readonly Vw | Measurement is relative to 1% of the width of the viewport* |
See Also
- package com.aspose.html.drawing
- package Aspose.HTML