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.

Methods

Name Description
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. 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