PresentationWatermarkSlideOptions Class |
Namespace: GroupDocs.Watermark.Options.Presentation
The PresentationWatermarkSlideOptions type exposes the following members.
Name | Description | |
---|---|---|
![]() | PresentationWatermarkSlideOptions |
Initializes a new instance of the PresentationWatermarkSlideOptions class.
|
Name | Description | |
---|---|---|
![]() | AlternativeText |
Gets or sets the descriptive (alternative) text that will be associated with a shape.
(Inherited from PresentationWatermarkBaseSlideOptions.) |
![]() | Effects |
Gets or sets a value of PresentationImageEffects or
PresentationTextEffects for effects that should be applied to the watermark.
(Inherited from PresentationWatermarkBaseSlideOptions.) |
![]() | IsLocked |
Gets or sets a value indicating whether an editing of the shape in PowerPoint is forbidden.
(Inherited from PresentationWatermarkBaseSlideOptions.) |
![]() | Name |
Gets or sets the name a shape.
(Inherited from PresentationWatermarkBaseSlideOptions.) |
![]() | ProtectWithUnreadableCharacters |
Gets or sets a value indicating whether the text watermark characters are mixed with unreadable characters.
(Inherited from PresentationWatermarkBaseSlideOptions.) |
![]() | SlideIndex |
Gets or sets the index of slide to add the watermark to.
|
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
PresentationLoadOptions loadOptions = new PresentationLoadOptions(); using (Watermarker watermarker = new Watermarker(@"C:\Documents\test.ppt", loadOptions)) { TextWatermark watermark = new TextWatermark("Test watermark", new Font("Arial", 36, FontStyle.Bold | FontStyle.Italic)); watermark.HorizontalAlignment = HorizontalAlignment.Center; watermark.VerticalAlignment = VerticalAlignment.Center; PresentationWatermarkSlideOptions options = new PresentationWatermarkSlideOptions(); options.SlideIndex = 0; options.IsLocked = false; // default options.ProtectWithUnreadableCharacters = false; // default options.Name = null; // default options.AlternativeText = null; // default watermarker.Add(watermark, options); watermarker.Save(); }