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

GdiGraphics.Width Property

Returns width of the drawing surface (in pixels).

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

Syntax

Visual Basic
Public ReadOnly Property Width As Integer
C#
public int Width { get; }

Property Value

Width of the drawing surface (in pixels).

Remarks

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

See Also

Reference