CADability dotNET
Sets the start and endpoint of the line. This method causes the line to fire the WillChangeEvent and the DidChangeEvent.

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

Syntax

C#
public void SetTwoPoints(
	GeoPoint startPoint,
	GeoPoint endPoint
)
Visual Basic
Public Sub SetTwoPoints ( _
	startPoint As GeoPoint, _
	endPoint As GeoPoint _
)
Visual C++
public:
void SetTwoPoints(
	GeoPoint startPoint, 
	GeoPoint endPoint
)

Parameters

startPoint
Type: CADability..::..GeoPoint
the new startpoint
endPoint
Type: CADability..::..GeoPoint
the new endpoint

See Also