Search
GraphicsUnit Members
Constructors Fields Properties Methods
 


Specifies units of measure for a particular data.

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

 Public Constructors

  Name Description

GraphicsUnit

Initializes a new instance of the GraphicsUnit class with the specified base resolution.

 Public Fields

  Name Description

Centimeter

Specifies centimeter as the unit of measure.

Inch

Specifies the inch as the unit of measure.

Millimeter

Specifies the millimeter as the unit of measure.

Pixel

Specifies a device pixel as the unit of measure.

Point

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

World

Specifies the world coordinate system unit as the unit of measure.

WpfPoint

Specifies a device-independent pixel as the unit of measure.

 Public Properties

  Name Description

Id

The unit id

Name

The unit Name

 Protected Properties

  Name Description

UnitsPerInch

Gets the base resolution of this GraphicsUnit object.

 Public Methods

  Name Description

Convert

Overloaded.  

FromId

Overloaded.  

ToString

Object.ToString override.

 See Also