PdfDashPattern Constructor (Single[], Single)

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(
	float[] pattern,
	float offset
)
VB
Public Sub New ( 
	pattern As Single(),
	offset As Single
)

Parameters

pattern
Type: System.Single[]
The pattern (the array of numbers that specifies the lengths of alternating dashes and gaps).
offset
Type: System.Single
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