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)


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

Property Value

Width of the drawing surface (in pixels).


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