usmanazizgroupdocs
4/17/2017 - 9:05 AM

WatermarkOperations-AddImageWatermark.vb

' For complete examples and data files, please go to https://github.com/groupdocs-watermark/GroupDocs.Watermark-for-.NET
Using doc As Document = Document.Load(Utilities.MapSourceFilePath(PptFilePath))
    ' Use path to the image as constructor parameter
    Using watermark As New ImageWatermark("D:\watermark.jpg")
        ' Add watermark to the document
        doc.AddWatermark(watermark)

        doc.Save()
    End Using
End Using