| Package | Description |
|---|---|
| com.groupdocs.watermark | |
| com.groupdocs.watermark.contents | |
| com.groupdocs.watermark.internal |
| Modifier and Type | Method and Description |
|---|---|
<T extends Content> |
Watermarker.getContent(Class<T> contentType)
Returns the
object for the loaded document. |
| Modifier and Type | Class and Description |
|---|---|
class |
DiagramContent
Represents a Visio document.
|
class |
EmailContent
Represents an email message.
|
class |
GifImageContent
Represents a gif image where a watermark can be placed.
|
class |
ImageContent
Represents an image where a watermark can be placed.
|
class |
MultiframeImageContent
Represents a multiframe image where a watermark can be placed.
|
class |
PdfContent
Represents a pdf document where a watermark can be placed.
|
class |
PresentationContent
Represents a PowerPoint document where a watermark can be placed.
|
class |
SpreadsheetContent
Represents an Excel document where a watermark can be placed.
|
class |
TiffImageContent
Represents a tiff image where a watermark can be placed.
|
class |
WordProcessingContent
Class representing Word document (doc, docx etc) where watermark should be placed.
|
| Modifier and Type | Method and Description |
|---|---|
Content |
ContentPart.getTopParent() |
| Modifier and Type | Method and Description |
|---|---|
static DocumentSpecificSettingsCollection |
WordProcessingUtils.buildSettings(Watermark watermark,
WordProcessingShapeSettings shapeSettings,
IWordProcessingWatermarkEffects effects,
WordProcessingPlacementSettings placementSettings,
Content parent) |
void |
WatermarkableImage.updateDocumentReference(Content parentContent) |
| Constructor and Description |
|---|
AttachmentWatermarkableImage(Content content,
Attachment attachment) |
WatermarkableImage(Content content) |
WordProcessingWatermarkableImage(Content content,
com.aspose.words.ImageData imageData,
byte[] imageBytes) |
| Modifier and Type | Class and Description |
|---|---|
class |
ContentDescriptor<TDocument extends Content> |
class |
OoxmlContentDescriptor<TDocument extends Content> |
| Modifier and Type | Method and Description |
|---|---|
<TDocument extends Content> |
ContentDescriptorsRegistry.getFirstSupportedDescriptor(Class<TDocument> documentType,
StreamContainer stream)
Gets first supported descriptor according to supplied content and content type.
|
<TDocument extends Content> |
DocumentFactory.load(Class<TDocument> documentType,
InputStream stream,
LoadOptions loadOptions,
WatermarkerSettings settings)
Loads a new content from the specified stream.
|
<TDocument extends Content> |
IDocumentFactory.load(Class<TDocument> documentType,
InputStream stream,
LoadOptions loadOptions,
WatermarkerSettings settings)
Loads a new content from the specified stream.
|
<TDocument extends Content> |
DocumentFactory.load(Class<TDocument> documentType,
com.aspose.ms.System.IO.Stream stream,
LoadOptions loadOptions,
WatermarkerSettings settings) |
<TDocument extends Content> |
DocumentFactory.load(Class<TDocument> documentType,
String filePath,
LoadOptions loadOptions,
WatermarkerSettings settings)
Loads a new content from the specified file.
|
<TDocument extends Content> |
IDocumentFactory.load(Class<TDocument> documentType,
String filePath,
LoadOptions loadOptions,
WatermarkerSettings settings)
Loads a new content from the specified file.
|
| Modifier and Type | Method and Description |
|---|---|
Content |
ContentDescriptor.createInstance(LoadOptions options,
WatermarkerSettings watermarkerSettings)
Creates an instance of the content.
|
Content |
IContentDescriptor.createInstance(LoadOptions options,
WatermarkerSettings settings)
Creates an instance of content.
|
Content |
OoxmlContentDescriptor.createInstance(LoadOptions options,
WatermarkerSettings watermarkerSettings)
Creates an instance of the content.
|
Content |
DocumentFactory.load(InputStream stream,
LoadOptions loadOptions,
WatermarkerSettings settings)
Loads a new content from the specified stream.
|
Content |
IDocumentFactory.load(InputStream stream,
LoadOptions loadOptions,
WatermarkerSettings settings)
Loads a new content from the specified stream.
|
Content |
DocumentFactory.load(com.aspose.ms.System.IO.Stream stream,
LoadOptions loadOptions,
WatermarkerSettings settings) |
Content |
DocumentFactory.load(String filePath,
LoadOptions loadOptions,
WatermarkerSettings settings)
Loads a new content from the specified file.
|
Content |
IDocumentFactory.load(String filePath,
LoadOptions loadOptions,
WatermarkerSettings settings)
Loads a new content from the specified file.
|
| Modifier and Type | Method and Description |
|---|---|
static DocumentSpecificSettingsCollection |
SpreadsheetUtils.buildSettings(Watermark watermark,
SpreadsheetShapeSettings shapeSettings,
ISpreadsheetWatermarkEffects effects,
Content parent) |
static void |
LicensingRestrictions.checkAddedWatermarksCount(Content content,
Watermark watermark) |
static void |
PdfWatermarkingUtils.fillTextState(com.aspose.pdf.TextState textState,
TextWatermark watermark,
Content parent)
Initializes
Aspose.Pdf.Text.TextState object
using TextWatermark values. |
Copyright © 2026. All rights reserved.