Share via


HeaderFooter.LinkToPrevious Property

True if the specified header or footer is linked to the corresponding header or footer in the previous section. When a header or footer is linked, its contents are the same as in the previous header or footer.

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

Syntax

'Declaration
Property LinkToPrevious As Boolean
    Get
    Set
'Usage
Dim instance As HeaderFooter
Dim value As Boolean

value = instance.LinkToPrevious

instance.LinkToPrevious = value
bool LinkToPrevious { get; set; }

Property Value

Type: System.Boolean

Remarks

Because the LinkToPrevious property is set to True by default, you can add headers, footers, and page numbers to your entire document by working with the headers, footers, and page numbers in the first section.

The LinkToPrevious property applies to each header or footer individually. For example, the LinkToPrevious property could be set to True for the even-numbered-page header but False for the even-numbered-page footer.

See Also

Reference

HeaderFooter Interface

HeaderFooter Members

Microsoft.Office.Interop.Word Namespace