usmanazizgroupdocs
4/17/2017 - 9:36 AM

Documents-LinkAllHeaderFooterInSection.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(1).IsLinkedToPrevious = True

    doc.Save()
End Using