Click or drag to resize

DrawingCollectionIndexOfID Method

Returns the index in the collection of the subgraph of the specified ID.

Namespace:  RootPro.RootProCAD
Assembly:  RootPro.RootProCAD.Library (in RootPro.RootProCAD.Library.dll) Version: 10.0.0.0 (10.0.0.0)
Syntax
public abstract int IndexOfID(
	int id
)

Parameters

id
Type: SystemInt32
partial figure ID

Return Value

Type: Int32
The zero-based index number of the subdiagram in the collection. If there is no partial figure in the collection, the return value is -1.
See Also