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

GdiGraphics.LogicalWidth Property

Returns width of the drawing surface (in units specified with Unit property).

Namespace: Aurigma.GraphicsMill.Drawing
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 drawing surface (in units specified with Unit property).

Remarks

If this GdiGraphics is associated with Bitmap, width of this bitmap is returned. If it is associated with device context (DC), it returns DC width.

This value is measured in units specified with Unit property

See Also

Reference