DiagramLite Programmer's Guide
GraphicsUnit Members
Constructors Fields Properties Methods
 


Specifies units of measure for a given 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

Display

Specifies the unit of measure of the display device. Typically pixels for video displays, and 1/100 inch for printers.

Document

Specifies the document unit (1/300 inch) 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

GraphicsUnit Class
MindFusion.Diagramming Namespace