[]
        
(Showing Draft Content)

C1.Win.FlexReport.CustomFields.Maps.C1Mapper.DrawLine

DrawLine Method

DrawLine(string, double, double, double, double, Color, DashStyle, double)

Adds a line to the lines layer.

Declaration
public void DrawLine(string layerKey, double longitude1, double latitude1, double longitude2, double latitude2, Color stroke, DashStyle dashStyle, double thickness)
Parameters
Type Name Description
string layerKey

Unique string identifying the layer.

double longitude1

The specified longitude of first point.

double latitude1

The specified latitude of first point.

double longitude2

The specified longitude of second point.

double latitude2

The specified latitude of second point.

Color stroke

The color of the line.

DashStyle dashStyle
double thickness

The thickness of a line.

DrawLine(string, double, double, double, double, Color, Color, DashStyle, double)

Adds a line to the lines layer.

Declaration
public void DrawLine(string layerKey, double longitude1, double latitude1, double longitude2, double latitude2, Color stroke, Color fill, DashStyle dashStyle, double thickness)
Parameters
Type Name Description
string layerKey

Unique string identifying the layer.

double longitude1

The specified longitude of first point.

double latitude1

The specified latitude of first point.

double longitude2

The specified longitude of second point.

double latitude2

The specified latitude of second point.

Color stroke

The color of the line.

Color fill

The background color of the polyline.

DashStyle dashStyle
double thickness

The thickness of a line.