Search
MeasureUnit Members
Constructors Fields Methods
 


Specifies units of measure.

The following tables list the members exposed by the MeasureUnit type.

 Public Constructors

  Name Description

MeasureUnit

Overloaded. Initializes a new instance of the MeasureUnit class.

 Public Fields

  Name Description

Centimeter

Specifies centimeters as the unit of measure.

Document

Specifies document units (1/300 inch) as the unit of measure.

Inch

Specifies inches as the unit of measure.

Millimeter

Specifies millimeters as the unit of measure.

Pixel

Specifies device pixels as the unit of measure.

Point

Specifies printer's points (1/72 inch) as the unit of measure.

WpfPoint

Specifies device-independent pixels (1/96 inch) as the unit of measure.

 Public Methods

  Name Description

convert

Overloaded.  

equals

 

fromId

Returns a MeasureUnit from its integer identifier.

getId

Gets the unit identifier.

getName

Gets the name of the unit.

hashCode

 

isEqualTo

Determines whether the specified measure unit is equal to the current measure unit.

toString

 

 See Also