GroupDocsGists
10/19/2017 - 11:08 AM

Documents-GetInformationOfSlideBackgroundsPowerPointDocument.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))
    For Each slide As SlidesSlide In doc.Slides
        If slide.BackgroundImage IsNot Nothing Then
            Console.WriteLine(slide.BackgroundImage.Width)
            Console.WriteLine(slide.BackgroundImage.Height)
            Console.WriteLine(slide.BackgroundImage.GetBytes().Length)
        End If
    Next
End Using