PresentationContent
Contents
[
Hide
]
PresentationContent class
Represents a PowerPoint document where a watermark can be placed.
public class PresentationContent : Content
Properties
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. |
Methods
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 . |
Remarks
Learn more:
Examples
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");
}
See Also
- class Content
- namespace GroupDocs.Watermark.Contents.Presentation
- assembly GroupDocs.Watermark