Gets a collection of page number fields in the header or footer. The property's value is an object of the type PageNumberFieldCollection.
public PageNumberFieldCollection PageNumberFields { get; }
Public ReadOnly Property PageNumberFields() As PageNumberFieldCollection
Read only.
Text Fields and Hypertext Links - Inserting Page Numbers.