Pen.DashPattern

Pen.DashPattern property

Gets or sets an array of custom dashes and spaces.

public float[] DashPattern { get; set; }

Property Value

An array of real numbers that specifies the lengths of alternating dashes and spaces in dashed lines.

Exceptions

exceptioncondition
ArgumentExceptionThe DashPattern property is set on an immutable Pen, such as those returned by the Pen class.

See Also