Click or drag to resize

PolylineShapeGetSegmentIndexAtParameter Method

Finds out which segment of the polyline the coordinates of the specified parameter are on and gets the index for that segment.

Namespace:  RootPro.RootProCAD
Assembly:  RootPro.RootProCAD.Library (in RootPro.RootProCAD.Library.dll) Version: (
public abstract int GetSegmentIndexAtParameter(
	double param


Type: SystemDouble
Parameters on a polyline curve

Return Value

Type: Int32
A 0-based index value that represents a polyline segment. In case of error, -1 is returned.
See Also