FlexReport for WinForms | ComponentOne
C1.Win.FlexReport.CustomFields.4.8 Assembly / C1.Win.FlexReport.CustomFields.Maps Namespace / C1Mapper Class / DrawLine Method / DrawLine(String,Double,Double,Double,Double,Color,Color,DashStyle,Double) Method
Unique string identifying the layer.
The specified longitude of first point.
The specified latitude of first point.
The specified longitude of second point.
The specified latitude of second point.
The color of the line.
The background color of the polyline.
The thickness of a line.

In This Topic
    DrawLine(String,Double,Double,Double,Double,Color,Color,DashStyle,Double) Method
    In This Topic
    Adds a line to the lines layer.
    Syntax
    'Declaration
     
    Public Overloads Sub DrawLine( _
       ByVal layerKey As String, _
       ByVal longitude1 As Double, _
       ByVal latitude1 As Double, _
       ByVal longitude2 As Double, _
       ByVal latitude2 As Double, _
       ByVal stroke As Color, _
       ByVal fill As Color, _
       ByVal dashStyle As DashStyle, _
       ByVal thickness As Double _
    ) 
    public void DrawLine( 
       string layerKey,
       double longitude1,
       double latitude1,
       double longitude2,
       double latitude2,
       Color stroke,
       Color fill,
       DashStyle dashStyle,
       double thickness
    )

    Parameters

    layerKey
    Unique string identifying the layer.
    longitude1
    The specified longitude of first point.
    latitude1
    The specified latitude of first point.
    longitude2
    The specified longitude of second point.
    latitude2
    The specified latitude of second point.
    stroke
    The color of the line.
    fill
    The background color of the polyline.
    dashStyle
    thickness
    The thickness of a line.
    See Also