Skip to main content
A newer version of this page is available. .

MeasureUnits Members

Contains units of measurement available for the DiagramControl and DiagramControl.

Fields

Name Description
Inches static Specifies that inches are used as the measure unit.
Millimeters static Specifies that millimeters are used as the measure unit.
Pixels static Specifies that pixels are used as the measure unit.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
FromDeviceIndependentPixels(MeasureUnit, Double) static Converts the value in device-independent pixels to the value in the unit of measure.
FromPixels(MeasureUnit, Double) static Converts the value in pixels to the value in the unit of measure.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToDeviceIndependentPixels(MeasureUnit, Double) static Converts the value in the unit of measure to the value in device-independent pixels.
ToPixels(MeasureUnit, Double) static Converts the value in the unit of measure to the value in pixels.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also