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,
	double offset
)
VB
Public Sub New ( 
	pattern As Double(),
	offset As Double
)

Parameters

pattern
Type: System.Double[]
The pattern (the array of numbers that specifies the lengths of alternating dashes and gaps).
offset
Type: System.Double
The distance from the start of a line to the beginning of the dash pattern.

Remarks

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