public class PresentationAddTextWatermarkStrategy extends PresentationAddWatermarkStrategy implements IAddWatermarkStrategyGeneric<TextWatermark,PresentationBaseSlide>
| Constructor and Description |
|---|
PresentationAddTextWatermarkStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
addWatermark(Watermark watermark,
ContentPart part,
DocumentSpecificSettingsCollection settings)
Adds a watermark to a content part.
|
void |
addWatermarkGeneric(TextWatermark watermark,
PresentationBaseSlide slide,
DocumentSpecificSettingsCollection settings)
Adds a text watermark to a PowerPoint slide.
|
protected void |
applyProtectionSettings(com.aspose.slides.IShape shape,
PresentationShapeSettings settings) |
applyLineFormatSettings, applyShapeSettings, fillShapepublic PresentationAddTextWatermarkStrategy()
public final void addWatermark(Watermark watermark, ContentPart part, DocumentSpecificSettingsCollection settings)
IAddWatermarkStrategyAdds a watermark to a content part.
addWatermark in interface IAddWatermarkStrategywatermark - Watermark of any supported type.part - Content part (page, frame, header or whole content).settings - Content-specific settings.
Settings that can be applied to a content of particular type.public final void addWatermarkGeneric(TextWatermark watermark, PresentationBaseSlide slide, DocumentSpecificSettingsCollection settings)
Adds a text watermark to a PowerPoint slide.
addWatermarkGeneric in interface IAddWatermarkStrategyGeneric<TextWatermark,PresentationBaseSlide>watermark - Text watermark.slide - PowerPoint slide.settings - Settings that can be applied to a watermark for a PowerPoint document only.protected void applyProtectionSettings(com.aspose.slides.IShape shape,
PresentationShapeSettings settings)
applyProtectionSettings in class PresentationAddWatermarkStrategyCopyright © 2026. All rights reserved.