PresentationContent
Leave feedback
On this page
Represents a PowerPoint document where a watermark can be placed.
public class PresentationContent : Content
| Name | Description |
|---|---|
| LayoutSlides { get; } | Gets the collection of all layout slides of this PresentationContent. |
| MasterHandoutSlide { get; } | Gets the master handout slide of this PresentationContent. |
| MasterNotesSlide { get; } | Gets the master slide for all notes slides of this PresentationContent. |
| MasterSlides { get; } | Gets the collection of all master slides of this PresentationContent. |
| NotesSlideHeight { get; } | Gets the height of a notes slide in points. |
| NotesSlideWidth { get; } | Gets the width of a notes slide in points. |
| SlideHeight { get; } | Gets the height of a slide in points. |
| Slides { get; } | Gets the collection of all slides of this PresentationContent. |
| SlideWidth { get; } | Gets the width of a slide in points. |
| Name | Description |
|---|---|
| Decrypt() | Decrypts the document. |
| Dispose() | Disposes the current instance. |
| Encrypt(string) | Encrypts the document. |
| FindImages() | Finds all images in the content. The search is conducted in the objects specified in SearchableObjects. |
| FindImages(ImageSearchCriteria) | Finds images according to the specified search criteria. The search is conducted in the objects specified in SearchableObjects. |
| Search() | Finds all possible watermarks in the content. The search is conducted in the objects specified in SearchableObjects. |
| Search(SearchCriteria) | Finds possible watermarks according to specified search criteria. The search is conducted in the objects specified in SearchableObjects. |
Learn more:
Load and save PowerPoint document of any supported type.
PresentationLoadOptions loadOptions = new PresentationLoadOptions();
using (Watermarker watermarker = new Watermarker(@"D:\input.ppt", loadOptions))
{
// Use Add method to add watermark to a particular slide or all slides.
// Save changes.
watermarker.Save(@"D:\output.ppt");
}
- class Content
- namespace GroupDocs.Watermark.Contents.Presentation
- assembly GroupDocs.Watermark
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.