PresentationWatermarkBaseSlideOptions Class
Base class for watermark adding options to a Presentation document.
Inheritance Hierarchy

Namespace: GroupDocs.Watermark.Options.Presentation
Assembly: GroupDocs.Watermark (in GroupDocs.Watermark.dll) Version: 20.7.0
Syntax
public abstract class PresentationWatermarkBaseSlideOptions : PresentationWatermarkOptions

The PresentationWatermarkBaseSlideOptions type exposes the following members.

Constructors
  NameDescription
Protected methodPresentationWatermarkBaseSlideOptions
Initializes a new instance of the PresentationWatermarkBaseSlideOptions class.
Properties
  NameDescription
Public propertyAlternativeText
Gets or sets the descriptive (alternative) text that will be associated with a shape.
Public propertyEffects
Gets or sets a value of PresentationImageEffects or PresentationTextEffects for effects that should be applied to the watermark.
Public propertyIsLocked
Gets or sets a value indicating whether an editing of the shape in PowerPoint is forbidden.
Public propertyName
Gets or sets the name a shape.
Public propertyProtectWithUnreadableCharacters
Gets or sets a value indicating whether the text watermark characters are mixed with unreadable characters.
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Remarks
Examples
Add watermark to different service slides of a Power Point presentation.
C#
PresentationLoadOptions loadOptions = new PresentationLoadOptions();
using (Watermarker watermarker = new Watermarker(@"D:\test.pptx", loadOptions))
{
    TextWatermark watermark = new TextWatermark("Test watermark", new Font("Arial", 8));

    // Add watermark to all master slides
    PresentationWatermarkMasterSlideOptions masterSlideOptions = new PresentationWatermarkMasterSlideOptions();
    masterSlideOptions.MasterSlideIndex = -1; // default
    watermarker.Add(watermark, masterSlideOptions);

    // Add watermark to all layout slides
    PresentationWatermarkLayoutSlideOptions layoutSlideOptions = new PresentationWatermarkLayoutSlideOptions();
    layoutSlideOptions.LayoutSlideIndex = -1; // default
    watermarker.Add(watermark, layoutSlideOptions);

    // Add watermark to all notes slides
    PresentationWatermarkNoteSlideOptions noteSlideOptions = new PresentationWatermarkNoteSlideOptions();
    noteSlideOptions.SlideIndex = -1; // default
    watermarker.Add(watermark, noteSlideOptions);

    // Add watermark to handout master
    PresentationWatermarkMasterHandoutSlideOptions masterHandoutSlideOptions = new PresentationWatermarkMasterHandoutSlideOptions();
    watermarker.Add(watermark, masterHandoutSlideOptions);

    // Add watermark to notes master
    PresentationWatermarkMasterNotesSlideOptions masterNotesSlideOptions = new PresentationWatermarkMasterNotesSlideOptions();
    watermarker.Add(watermark, masterNotesSlideOptions);

    watermarker.Save();
}
See Also
Inheritance Hierarchy
SystemObject
  GroupDocs.Watermark.OptionsWatermarkOptions
    GroupDocs.Watermark.Options.PresentationPresentationWatermarkOptions
      GroupDocs.Watermark.Options.PresentationPresentationWatermarkBaseSlideOptions
        GroupDocs.Watermark.Options.PresentationPresentationWatermarkLayoutSlideOptions
        GroupDocs.Watermark.Options.PresentationPresentationWatermarkMasterHandoutSlideOptions
        GroupDocs.Watermark.Options.PresentationPresentationWatermarkMasterNotesSlideOptions
        GroupDocs.Watermark.Options.PresentationPresentationWatermarkMasterSlideOptions
        GroupDocs.Watermark.Options.PresentationPresentationWatermarkNoteSlideOptions
        GroupDocs.Watermark.Options.PresentationPresentationWatermarkSlideOptions