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

Bitmap.LogicalWidth Property

Returns current bitmap width in units specified with Unit property.

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

Syntax

Visual Basic
Public ReadOnly Property LogicalWidth As Single
C#
public float LogicalWidth { get; }

Property Value

Width of the bitmap in units specified with Unit property.

Examples

Visual Basic
bitmap.Unit = Aurigma.GraphicsMill.Unit.Inch

Console.WriteLine("Bitmap: " & bitmap.LogicalWidth & " x " & bitmap.LogicalHeight)
C#
bitmap.Unit = Aurigma.GraphicsMill.Unit.Inch;

Console.WriteLine("Bitmap: " + bitmap.LogicalWidth + " x " + bitmap.LogicalHeight);

See Also

Reference