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: 12.0.0.0 (12.0.0.0)
Syntax
public abstract int GetSegmentIndexAtParameter(
	double param
)

Parameters

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