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. 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.

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. Applies this unit to a IGraphics drawing surface.

Convert

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

Equals

Overloaded. Determines whether a measure unit is equal to the current measure unit.

FromId

Returns a MeasureUnit from its integer identifier.

GetHashCode

Object.GetHashCode override.

ToString

Object.ToString override.

 See Also