ASP.NET Pack Programmer's Guide
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.  

 Public Fields

  Name Description

Centimeter

 

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.

Percent

Specifies percents 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

Object.equals override.

fromGraphicsUnit

Returns the measure unit corresponding to the specified graphics unit.

fromId

Returns a MeasureUnit from its integer identifier.

getAmount

Gets the unit's amount.

getId

Gets the unit identifier.

getName

Gets the name of the unit.

hashCode

Object.hashCode override.

op_Equality

Compares two MeasureUnit objects for equality.

op_Inequality

Compares two MeasureUnit objects for inequality.

toString

Object.toString override.

 See Also

MeasureUnit Class
com.mindfusion.diagramming Namespace