Gets the current index of the specified TrendLines in the collection.
Namespace:
C1.Win.C1ChartAssembly: C1.Win.C1Chart.2 (in C1.Win.C1Chart.2.dll)
Syntax
C# |
---|
public int IndexOf( TrendLine tl ) |
Visual Basic |
---|
Public Function IndexOf ( _ tl As TrendLine _ ) As Integer |
Parameters
- tl
- Type: C1.Win.C1Chart..::..TrendLine
TrendLine to locate.
Return Value
Index.Remarks
Returns an integer indicating the element of the specified TrendLine within the collection.
If the TrendLine is not found the return value is –1.