Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / GcGraphicsExt Class / DrawPdfLine Method
The graphics to draw on.
An array of points defining the line.
The line width.
The line color.
The dash pattern, null indicates a solid line.
The style of the start marker.
The style of the end marker.
The fill color used to render the markers.

In This Topic
    DrawPdfLine Method
    In This Topic
    Draws a line composed of several segments, with start and end markers.
    Syntax
    'Declaration
     
    Public Shared Sub DrawPdfLine( _
       ByVal g As GcGraphics, _
       ByVal points As System.Collections.Generic.IReadOnlyList(Of PointF), _
       ByVal lineWidth As System.Single, _
       ByVal lineColor As System.Drawing.Color, _
       ByVal lineDashPattern() As System.Single, _
       ByVal lineStartStyle As LineEndingStyle, _
       ByVal lineEndStyle As LineEndingStyle, _
       ByVal lineEndingsFillColor As System.Drawing.Color _
    ) 
    public static void DrawPdfLine( 
       GcGraphics g,
       System.Collections.Generic.IReadOnlyList<PointF> points,
       System.float lineWidth,
       System.Drawing.Color lineColor,
       System.float[] lineDashPattern,
       LineEndingStyle lineStartStyle,
       LineEndingStyle lineEndStyle,
       System.Drawing.Color lineEndingsFillColor
    )

    Parameters

    g
    The graphics to draw on.
    points
    An array of points defining the line.
    lineWidth
    The line width.
    lineColor
    The line color.
    lineDashPattern
    The dash pattern, null indicates a solid line.
    lineStartStyle
    The style of the start marker.
    lineEndStyle
    The style of the end marker.
    lineEndingsFillColor
    The fill color used to render the markers.
    See Also