[]
        
(Showing Draft Content)

C1.Win.Document.Util.C1DXTextLayout.DrawLine

DrawLine Method

DrawLine(C1Graphics, double, double, double, double, Color, double, DashStyle)

Draws a line.

Declaration
protected virtual void DrawLine(C1Graphics graphics, double x1, double y1, double x2, double y2, Color lineColor, double lineWidth, DashStyle lineStyle)
Protected Overridable Sub DrawLine(graphics As C1Graphics, x1 As Double, y1 As Double, x2 As Double, y2 As Double, lineColor As Color, lineWidth As Double, lineStyle As DashStyle)
Parameters
Type Name Description
C1Graphics graphics

A C1.Document.Util.C1Graphics object implements drawing surface for C1Document.

double x1

The X coordinate of first point.

double y1

The Y coordinate of first point.

double x2

The X coordinate of second point.

double y2

The Y coordinate of second point.

Color lineColor

The color of the line.

double lineWidth

The width of the line.

DashStyle lineStyle

A C1.Document.DashStyle style.