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

ViewerBase.Unit Property

Gets/sets a physical unit of measure for the viewer.

Namespace: Aurigma.GraphicsMill.WinControls
Assembly: Aurigma.GraphicsMill.WinControls (in Aurigma.GraphicsMill.WinControls.dll)

Syntax

Visual Basic
Public MustOverride Property Unit As Unit
C#
public abstract Unit Unit { get; set; }

Property Value

A physical unit of measure.

Implements

IUnitConverter.Unit

Remarks

WorkspaceWidth and WorkspaceHeight are measured in this units. During the conversion between this units and pixels, the screen resolution is used (usually, it is 96 DPI).

See Also

Reference