This documentation is for the old version. Go to the latest Graphics Mill docs

UnitConverterObject Members

The UnitConverterObject type exposes the following members.

Methods

Name Description
Public method {dtor}

Enables using delete operator in C++ applications. It is strongly not recommended to use it directly.

Public method Dispose

Releases all resources used by this LockableObject.

(Inherited from LockableObject.)
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method HorizontalPixelsToUnits

Converts horizontal value from pixels to unit specified in Unit property.

Public method HorizontalUnitsToPixels

Converts horizontal value from unit specified in Unit property to pixels.

Public method Lock

Locks the object.

(Inherited from LockableObject.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Public method Unlock

Unlocks the object previously locked with method Lock().

(Inherited from LockableObject.)
Public method VerticalPixelsToUnits

Converts vertical value from pixels to unit specified in Unit property.

Public method VerticalUnitsToPixels

Converts vertical value from unit specified in Unit property to pixels.

Properties

Name Description
Public property HorizontalResolution

Specifies horizontal resolution of the image (also known as DPI, dots per inch).

Public property IsDisposed (Inherited from LockableObject.)
Public property Locked

Indicates if the object has been locked.

(Inherited from LockableObject.)
Public property Timeout

Gets/sets value specifying maximum time for which object can be locked.

(Inherited from LockableObject.)
Public property Unit

Gets/sets unit to convert from/to.

Public property VerticalResolution

Specifies vertical resolution (also known as DPI, dots per inch).

See Also

Reference