Search
MeasureUnit Members
Constructors Fields Properties 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-independent pixels (1/96 inch) as the unit of measure.

Point

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

 Public Properties

  Name Description

Id

Gets the unit identifier.

Name

Gets the name of the unit.

 Public Methods

  Name Description

Convert

Overloaded. Converts a value from this unit to another unit.

Equals

Overloaded. Determines whether the current object is equal to another object.

FromId

Returns a MeasureUnit from its integer identifier.

GetHashCode

Object.GetHashCode override.

ToString

Object.ToString override.

 See Also