Measurement Structure

A number that indicates a render measurement.

Namespace:  Aspose.Gis.Rendering
Assembly:  Aspose.GIS (in Aspose.GIS.dll) Version: 21.10.0.0 (21.10)
Syntax
public struct Measurement

The Measurement type exposes the following members.

Constructors
  NameDescription
Public methodMeasurement
Creates new instance.
Properties
  NameDescription
Public propertyUnit
A unit of measurement.
Public propertyValue
A number that indicates the length of the measurement.
Public propertyStatic memberZero
A measurement of zero length.
Methods
  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberInches
Returns a new instance of Measurement that represents length in inches.
Public methodStatic memberMapUnits
Returns a new instance of Measurement that represents length in maps Spatial Reference units.
Public methodStatic memberMetersOnEarth
Returns a new instance of Measurement that represents length in meters on the Earth.
Public methodStatic memberMillimeters
Returns a new instance of Measurement that represents length in millimeters.
Public methodStatic memberPixels
Returns a new instance of Measurement that represents length in pixels.
Public methodStatic memberPoints
Returns a new instance of Measurement that represents length in points.
Public methodToString
Returns this instance converted to string.
(Overrides ValueTypeToString.)
Operators
  NameDescription
Public operatorStatic memberDivision
Divide measurement by factor.
Public operatorStatic member(Double to Measurement)
Returns a new instance of Measurement that represents length in pixels.
Public operatorStatic memberMultiply
Multiplies measurement by factor.
See Also