IPageNumTool
Hierarchy Properties Methods

Type Library
TeeChartx

Description
The PageNumTool draws a configurable text box with confugurable text which descibes the current page number of a multi-page chart.

Example [Visual Basic]:

Private Sub Form_Load()

Dim PageNumTool As Integer

ChartPageNavigator1.Chart = TChart1

With TChart1

.AddSeries scLine

.Series(0).FillSampleValues 99

.Page.MaxPointsPerPage = 10

PageNumTool = .Tools.Add(tcPageNumber)

With .Tools.Items(PageNumTool).asPageNum

.Format = "%d of %d"

End With

End With

End Sub