usmanazizgroupdocs
6/9/2017 - 10:43 AM

AddWatermarkToParticularPageWord.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))
    Dim textWatermark As New TextWatermark("DRAFT", New Font("Arial", 42))

    ' Add watermark to the last page
    doc.AddWatermark(textWatermark, doc.PageCount)
    doc.Save()