ComponentOne PDF for .NET
C1.C1Pdf Namespace / C1PdfDocument Class / SetDashPattern Method
The dash style to set.
The array of stroke and gap lengths, in line thickness.

In This Topic
    SetDashPattern Method (C1PdfDocument)
    In This Topic
    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 Single _
    ) 
    public void SetDashPattern( 
       DashStyle dashStyle,
       float[] pattern
    )

    Parameters

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