usmanazizgroupdocs
5/9/2017 - 3:10 PM

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