Graphics.Width Property

Gets a width of the drawing surface (in pixels).

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

Syntax

C#
public int Width { get; }

Property Value

The width of the drawing surface (in pixels).

Remarks

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

See Also

Reference