'Declaration Public Overloads Sub InsertPageNumberField( _ ByVal index As Integer, _ ByVal pageNumberField As Infragistics.Documents.Word.PageNumberField _ )
public void InsertPageNumberField( int index, Infragistics.Documents.Word.PageNumberField pageNumberField )
Note: Page number fields are only supported for content which appears within a header or footer. Attempting to add a page number field to content which appears within the main document part will cause an exception to be thrown.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2