GroupDocsGists
10/19/2017 - 11:10 AM

LinkAllHeaderFooterInSection.cs

// For complete examples and data files, please go to https://github.com/groupdocs-watermark/GroupDocs.Watermark-for-.NET
using (WordsDocument doc = Document.Load<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();
}