usmanazizgroupdocs
6/9/2017 - 10:07 AM

SetBackgroundImageForChartPowerPoint.vb

' For complete examples and data files, please go to https://github.com/groupdocs-watermark/GroupDocs.Watermark-for-.NET
Using doc As SlidesDocument = Document.Load(Of SlidesDocument)(Utilities.MapSourceFilePath(FilePath))
    doc.Slides(0).Charts(0).ImageFillFormat.BackgroundImage = New SlidesWatermarkableImage(File.ReadAllBytes("D:\test.png"))
    doc.Slides(0).Charts(0).ImageFillFormat.Transparency = 0.5
    doc.Slides(0).Charts(0).ImageFillFormat.TileAsTexture = True
    doc.Save()