Pen.DashOffset Property

Definition

Gets or sets the distance from the start of a line to the beginning of a dash pattern.

public:
 property float DashOffset { float get(); void set(float value); };
public float DashOffset { get; set; }
member this.DashOffset : single with get, set
Public Property DashOffset As Single

Property Value

The distance from the start of a line to the beginning of a dash pattern.

Exceptions

The DashOffset property is set on an immutable Pen, such as those returned by the Pens class.

Applies to