ComponentOne PDF for WPF and Silverlight
SetDashPattern Method

C1.WPF.Pdf.4 Assembly > C1.WPF.Pdf Namespace > C1PdfDocumentBase Class : SetDashPattern Method
The dash style to set.
The array of stroke and gap lengths, in line thickness.
Sets the dash pattern for a specific dash style. Values in pattern correspond to dashes and spaces, starting with the first dash. The actual length of each dash and space in the line is the product of the specified value and the width of the pen used to draw the line.
Syntax
'Declaration
 
Public Sub SetDashPattern( _
   ByVal dashStyle As DashStyle, _
   ByVal pattern() As Double _
) 
public void SetDashPattern( 
   DashStyle dashStyle,
   double[] pattern
)

Parameters

dashStyle
The dash style to set.
pattern
The array of stroke and gap lengths, in line thickness.
See Also

Reference

C1PdfDocumentBase Class
C1PdfDocumentBase Members
ResetDashPatterns Method