GroupDocsGists
10/19/2017 - 11:08 AM

Documents-LinkHeaderFooterInSection.vb

' For complete examples and data files, please go to https://github.com/groupdocs-watermark/GroupDocs.Watermark-for-.NET
Using doc As WordsDocument = Document.Load(Of WordsDocument)(Utilities.MapSourceFilePath(FilePath))
    ' Link footer for even numbered pages to corresponding footer in previous section
    doc.Sections(1).HeadersFooters(OfficeHeaderFooterType.FooterEven).IsLinkedToPrevious = True

    doc.Save()
End Using