MindFusion.Charting for WebForms Programmer's Guide
Pen.DashPattern Property
See Also
 



Gets or sets an array of custom dashes and spaces.

Namespace: MindFusion.Drawing
Assembly: MindFusion.Common

 Syntax

C#  Copy Code

public float[] DashPattern { get; set; }

Visual Basic  Copy Code

Public Property DashPattern As Single()

 Property Value

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

 Remarks

The elements in the array set the length of each dash and space in the dash pattern. The first element sets the length of a dash, the second element sets the length of a space, the third element sets the length of a dash, and so on.The length of each dash and space in the dash pattern is the product of the element value in the array and the width of the pen.

 See Also

Pen Members
Pen Class
MindFusion.Drawing Namespace