Search
MeasureUnit Members
Constructors Fields Properties Methods
 


Represents a unit of measure.

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

 Public Constructors

  Name Description

MeasureUnit

Overloaded.  

 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.

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 Properties

  Name Description

Amount

Gets the unit's size in inches.

Id

Gets the unit identifier.

Name

Gets the name of the unit.

StandardDivisions

Gets the number of subunits that measures of this unit type are commonly divided to.

 Public Methods

  Name Description

ApplyTo

Overloaded.  

Convert

Overloaded.  

Equals

Overloaded.  

FromGraphicsUnit

Returns the measure unit corresponding to the specified graphics unit.

FromId

Returns a MeasureUnit from its integer identifier.

GetHashCode

Object.GetHashCode override.

ToGraphicsUnit

Returns the GraphicsUnit corresponding to this MeasureUnit.

ToString

Object.ToString override.

 See Also