Struct Measurement

Measurement structure

A number that indicates a render measurement.

public struct Measurement

Constructors

NameDescription
Measurement(double, Unit)Creates new instance.

Properties

NameDescription
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

NameDescription
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 operatorReturns a new instance of Measurement that represents length in pixels.
operator *Multiplies measurement by factor.

See Also