GroupDocsGists
10/19/2017 - 11:02 AM

SetDifferentFirstPageHeaderFooter.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))
    doc.Sections(0).PageSetup.DifferentFirstPageHeaderFooter = True
    doc.Sections(0).PageSetup.OddAndEvenPagesHeaderFooter = True
    doc.Save()
End Using