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

BitmapViewer.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
<BrowsableAttribute(True)> _
Public Overrides Property Unit As Unit
C#
[BrowsableAttribute(true)]
public override 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