Line Constructors

Overloads

Line(Single, Single, Single, Single)Initializes a new instance of the Line class.
Line(Single, Single, Single, Single, Color)Initializes a new instance of the Line class.
Line(Single, Single, Single, Single, Single)Initializes a new instance of the Line class.
Line(Single, Single, Single, Single, Single, Color)Initializes a new instance of the Line class.
Line(Single, Single, Single, Single, Single, Color, LineStyle)Initializes a new instance of the Line class.

Line(Single, Single, Single, Single)

Initializes a new instance of the Line class.

public Line(float x1, float y1, float x2, float y2)
Public Sub New (x1 As Single, y1 As Single, x2 As Single, y2 As Single)

Parameters

x1
Single

X1 coordinate of the line.

y1
Single

Y1 coordinate of the line.

x2
Single

X2 coordinate of the line.

y2
Single

Y2 coordinate of the line.

Licensing Info

This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Line(Single, Single, Single, Single, Color)

Initializes a new instance of the Line class.

public Line(float x1, float y1, float x2, float y2, Color color)
Public Sub New (x1 As Single, y1 As Single, x2 As Single, y2 As Single, color As Color)

Parameters

x1
Single

X1 coordinate of the line.

y1
Single

Y1 coordinate of the line.

x2
Single

X2 coordinate of the line.

y2
Single

Y2 coordinate of the line.

color
Color

Color of the line.

Licensing Info

This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Line(Single, Single, Single, Single, Single)

Initializes a new instance of the Line class.

public Line(float x1, float y1, float x2, float y2, float width)
Public Sub New (x1 As Single, y1 As Single, x2 As Single, y2 As Single, width As Single)

Parameters

x1
Single

X1 coordinate of the line.

y1
Single

Y1 coordinate of the line.

x2
Single

X2 coordinate of the line.

y2
Single

Y2 coordinate of the line.

width
Single

Width of the line.

Licensing Info

This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Line(Single, Single, Single, Single, Single, Color)

Initializes a new instance of the Line class.

public Line(float x1, float y1, float x2, float y2, float width, Color color)
Public Sub New (x1 As Single, y1 As Single, x2 As Single, y2 As Single, width As Single, color As Color)

Parameters

x1
Single

X1 coordinate of the line.

y1
Single

Y1 coordinate of the line.

x2
Single

X2 coordinate of the line.

y2
Single

Y2 coordinate of the line.

width
Single

Width of the line.

color
Color

Color of the line.

Licensing Info

This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Line(Single, Single, Single, Single, Single, Color, LineStyle)

Initializes a new instance of the Line class.

public Line(float x1, float y1, float x2, float y2, float width, Color color, LineStyle style)
Public Sub New (x1 As Single, y1 As Single, x2 As Single, y2 As Single, width As Single, color As Color, style As LineStyle)

Parameters

x1
Single

X1 coordinate of the line.

y1
Single

Y1 coordinate of the line.

x2
Single

X2 coordinate of the line.

y2
Single

Y2 coordinate of the line.

width
Single

Width of the line.

color
Color

Color of the line.

style
LineStyle

Style of the line.

Licensing Info

This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

See Also

Line
ceTe.DynamicPDF.PageElements

In this topic