PageNumbers.StartingNumber Property

Returns or sets the starting note number, line number, or page number.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)


Property StartingNumber As Integer
Dim instance As PageNumbers
Dim value As Integer

value = instance.StartingNumber

instance.StartingNumber = value
int StartingNumber { get; set; }

Property Value

Type: System.Int32


You must be in print layout view to see line numbering.

When applied to page numbers, this property returns or sets the beginning page number for the specified HeaderFooter object. This number may or may not be visible on the first page, depending on the setting of the ShowFirstPageNumber property. The RestartNumberingAtSection property, if set to False, will override the StartingNumber property so that page numbering can continue from the previous section.

See Also


PageNumbers Interface

PageNumbers Members

Microsoft.Office.Interop.Word Namespace