Struct Measurement
Measurement structure
A number that indicates a render measurement.
public struct Measurement
Constructors
Name | Description |
---|
Measurement(double, Unit) | Creates new instance. |
Properties
Name | Description |
---|
static Zero { get; } | A measurement of zero length. |
Unit { get; } | A unit of measurement. |
Value { get; } | A number that indicates the length of the measurement. |
Methods
Name | Description |
---|
static Inches(double) | Returns a new instance of Measurement that represents length in inches. |
static MapUnits(double) | Returns a new instance of Measurement that represents length in maps Spatial Reference units. |
static MetersOnEarth(double) | Returns a new instance of Measurement that represents length in meters on the Earth. |
static Millimeters(double) | Returns a new instance of Measurement that represents length in millimeters. |
static Pixels(double) | Returns a new instance of Measurement that represents length in pixels. |
static Points(double) | Returns a new instance of Measurement that represents length in points. |
override ToString() | Returns this instance converted to string. |
operator / | Divide measurement by factor. |
implicit operator | Returns a new instance of Measurement that represents length in pixels. |
operator * | Multiplies measurement by factor. |
See Also