Adds a line.

Namespace: Spire.Pdf.Graphics
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public void AddLine(
	float x1,
	float y1,
	float x2,
	float y2
)
Public Sub AddLine ( 
	x1 As Single,
	y1 As Single,
	x2 As Single,
	y2 As Single
)
public:
void AddLine(
	float x1, 
	float y1, 
	float x2, 
	float y2
)
member AddLine : 
        x1 : float32 * 
        y1 : float32 * 
        x2 : float32 * 
        y2 : float32 -> unit 

Parameters

x1
Single
The x1.
y1
Single
The y1.
x2
Single
The x2.
y2
Single
The y2.

See Also