Series.Trendlines Method
Returns a collection of all the trendlines for the series.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Function Trendlines ( _
Index As Object _
) As Object
'Usage
Dim instance As Series
Dim Index As Object
Dim returnValue As Object
returnValue = instance.Trendlines(Index)
Object Trendlines(
Object Index
)
Parameters
- Index
Type: System.Object
Return Value
Type: System.Object
A Trendlines object that represents all the treadlines for the series.
Examples
This example adds a linear trendline to series one for the first chart in the active document.