CADability dotNET
Returns the index of the given line pattern or -1 if not in the list

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

Syntax

C#
public int FindIndex(
	LinePattern lp
)
Visual Basic
Public Function FindIndex ( _
	lp As LinePattern _
) As Integer
Visual C++
public:
int FindIndex(
	LinePattern^ lp
)

Parameters

lp
Type: CADability.Attribute..::..LinePattern
line pattern whos index is required

Return Value

the index found or -1 if not found

See Also