Resolution class
Resolution class
Represents a resolution unit.
Inheritance: Resolution →
Dimension →
Numeric →
Unit
The Resolution 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 Lengthobject that is represented in centimeters. | 
| from_millimeters | Returns a Lengthobject that is represented in millimeters. | 
| from_quarter_millimeters | Returns a Lengthobject that is represented in quarter-millimeters. | 
| from_inches | Returns a Lengthobject that is represented in inches. | 
| from_picas | Returns a Lengthobject that is represented in picas. | 
| from_points | Returns a Lengthobject that is represented in points. | 
| from_pixels | Returns a Lengthobject that is represented in pixels. | 
| from_degrees | Returns a Angleobject that is represented in degrees. | 
| from_gradians | Returns a Angleobject that is represented in gradians. | 
| from_radians | Returns a Angleobject that is represented in radians. | 
| from_turns | Returns a Angleobject that is represented in turns. | 
| from_seconds | Returns a Timeobject that is represented in seconds. | 
| from_milliseconds | Returns a Timeobject that is represented in milliseconds. | 
| from_hertz | Returns a Frequencyobject that is represented in hertz. | 
| from_kilo_hertz | Returns a Frequencyobject that is represented in kiloHertz. | 
| from_dots_per_inch | Returns a Resolutionobject that is represented in dots per inch. | 
| from_dots_per_centimeters | Returns a Resolutionobject that is represented in dots per centimeters. | 
| from_dots_per_pixel | Returns a Resolutionobject 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.svg.drawing
- class Angle
- class Dimension
- class Frequency
- class Length
- class Numeric
- class Resolution
- class Time
- class Unit
- class UnitType