Extracting information about all slide backgrounds The API allows you to extract information about all the slide backgrounds in a PowerPoint document as shown in the following code sample using method getBackgroundImage() of PresentationSlide.getImageFillFormat().
advanced_usage.add_watermarks_to_presentations.PresentationGetSlideBackgroundsInformation
PresentationLoadOptions loadOptions = new PresentationLoadOptions(); // Specify an absolute or relative path to your document. Ex: "C:\\Docs\\presentation.pptx" Watermarker watermarker = new Watermarker("presentation.pptx", loadOptions); PresentationContent Content = watermarker.getContent(PresentationContent.class); for (PresentationSlide slide : Content.getSlides()) { if (slide....loadOptions ); PresentationContent content = watermarker . getContent...PresentationSlide slide : content . getSlides ()) { if ( slide...