Time class
Time class
Represents a time unit.
Inheritance: Time
→
Dimension
→
Numeric
→
Unit
The Time type exposes the following members:
Properties
Property | Description |
---|---|
unit_type | Gets the unit type of the Unit . |
Methods
Method | Description |
---|---|
get_value | Gets the unit value. |
get_value | Gets the value converted to the specified UnitType . |
equals | Determines whether the specified Unit , is equal to this instance. |
from_centimeters | Returns a Length object that is represented in centimeters. |
from_millimeters | Returns a Length object that is represented in millimeters. |
from_quarter_millimeters | Returns a Length object that is represented in quarter-millimeters. |
from_inches | Returns a Length object that is represented in inches. |
from_picas | Returns a Length object that is represented in picas. |
from_points | Returns a Length object that is represented in points. |
from_pixels | Returns a Length object that is represented in pixels. |
from_degrees | Returns a Angle object that is represented in degrees. |
from_gradians | Returns a Angle object that is represented in gradians. |
from_radians | Returns a Angle object that is represented in radians. |
from_turns | Returns a Angle object that is represented in turns. |
from_seconds | Returns a Time object that is represented in seconds. |
from_milliseconds | Returns a Time object that is represented in milliseconds. |
from_hertz | Returns a Frequency object that is represented in hertz. |
from_kilo_hertz | Returns a Frequency object that is represented in kiloHertz. |
from_dots_per_inch | Returns a Resolution object that is represented in dots per inch. |
from_dots_per_centimeters | Returns a Resolution object that is represented in dots per centimeters. |
from_dots_per_pixel | Returns a Resolution object that is represented in dots per pixels. |
compare_to | Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. |
See Also
- module
aspose.html.drawing
- class
Angle
- class
Dimension
- class
Frequency
- class
Length
- class
Numeric
- class
Resolution
- class
Time
- class
Unit
- class
UnitType