public class PresentationAddImageWatermarkStrategy extends PresentationAddWatermarkStrategy implements IAddWatermarkStrategyGeneric<ImageWatermark,PresentationBaseSlide>
| Constructor and Description |
|---|
PresentationAddImageWatermarkStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
addWatermark(Watermark watermark,
ContentPart part,
DocumentSpecificSettingsCollection settings)
Adds a watermark to a content part.
|
void |
addWatermarkGeneric(ImageWatermark watermark,
PresentationBaseSlide slide,
DocumentSpecificSettingsCollection settings)
Adds an image watermark to a PowerPoint slide.
|
protected void |
applyProtectionSettings(com.aspose.slides.IShape shape,
PresentationShapeSettings settings) |
applyLineFormatSettings, applyShapeSettings, fillShapepublic PresentationAddImageWatermarkStrategy()
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(ImageWatermark watermark, PresentationBaseSlide slide, DocumentSpecificSettingsCollection settings)
Adds an image watermark to a PowerPoint slide.
addWatermarkGeneric in interface IAddWatermarkStrategyGeneric<ImageWatermark,PresentationBaseSlide>watermark - Image 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.