Initializes a new instance of the PdfDashPattern class.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public PdfDashPattern(
	double[] pattern
)
VB
Public Sub New ( 
	pattern As Double()
)

Parameters

pattern
Type: System.Double[]
The pattern (the array of numbers that specifies the lengths of alternating dashes and gaps).

Remarks

This constructor creates dash pattern with Offset set to zero. The elements in the pattern array set the length of each dash and gap in the dash pattern. The first element of the pattern array specifies the length of a dash, the second element specifies the length of a space, the third element specifies the length of a dash, and so on.

See Also