public abstract class PdfAddXObjectWatermarkStrategy extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PdfAddXObjectWatermarkStrategy.AddedStampInfo
Represents information about added stamp.
|
| Constructor and Description |
|---|
PdfAddXObjectWatermarkStrategy() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addStampToIndex(Watermark watermark,
com.aspose.pdf.Stamp stamp)
Adds stamp to the index.
|
protected static void |
fillStamp(com.aspose.pdf.Stamp stamp,
Watermark watermark,
PdfXObjectSettings settings,
WatermarkGeometry geometry)
Fills stamp (image or text) with passed values.
|
protected com.aspose.pdf.Stamp |
findStamp(Watermark watermark,
PdfXObjectSettings settings)
Finds stamp in the index of added stamps.
|
com.aspose.ms.System.Collections.Generic.Dictionary<Watermark,PdfAddXObjectWatermarkStrategy.AddedStampInfo> |
getAddedStamps() |
protected final void addStampToIndex(Watermark watermark, com.aspose.pdf.Stamp stamp)
Adds stamp to the index.
watermark - Watermark passed to the strategy.stamp - Created stamp.protected static void fillStamp(com.aspose.pdf.Stamp stamp,
Watermark watermark,
PdfXObjectSettings settings,
WatermarkGeometry geometry)
Fills stamp (image or text) with passed values.
stamp - Stamp instance.watermark - Watermark instance.settings - Settings that can be applied to a watermark for a pdf content only.geometry - Watermark geometry.protected final com.aspose.pdf.Stamp findStamp(Watermark watermark, PdfXObjectSettings settings)
Finds stamp in the index of added stamps.
watermark - Watermark passed to the strategy.settings - Pdf stamp settings.public final com.aspose.ms.System.Collections.Generic.Dictionary<Watermark,PdfAddXObjectWatermarkStrategy.AddedStampInfo> getAddedStamps()
Copyright © 2026. All rights reserved.