CADability dotNET
Paint a 2D line in the pixel coordinates system of the display. Usually used for background painting. Currently not used.

Namespace: CADability
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
void Line2D(
	PointF p1,
	PointF p2
)
Visual Basic
Sub Line2D ( _
	p1 As PointF, _
	p2 As PointF _
)
Visual C++
void Line2D(
	PointF p1, 
	PointF p2
)

Parameters

p1
Type: System.Drawing..::..PointF
Start point
p2
Type: System.Drawing..::..PointF
End point

See Also