CADability dotNET
Sets the line as a basis for the calculation of the distance or length. The calculated length is the distance of the mouseposition from this line

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

Syntax

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

Parameters

startPoint
Type: CADability..::..GeoPoint
startpoint of the line
endPoint
Type: CADability..::..GeoPoint
endpoint of the line

See Also