Skip to main content

MeasureUnits Members

Contains units of measurement available for the DiagramControl and DiagramControl.

Fields

Name Description
Inches static Represents inches as the measure unit.
Millimeters static Represents millimeters as the measure unit.
Pixels static Represents pixels as the measure unit.

Properties

Name
RegisteredUnits static

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.
FromDeviceIndependentPixels(MeasureUnit, Size) static
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.
Register(String, MeasureUnit) static
ToDeviceIndependentPixels(MeasureUnit, Double) static Converts the value in the unit of measure to the value in device-independent pixels.
ToDeviceIndependentPixels(MeasureUnit, Size) static
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.
Unregister(String) static
See Also