Watermarker Class |
Namespace: GroupDocs.Watermark
The Watermarker type exposes the following members.
Name | Description | |
---|---|---|
Watermarker(Stream) |
Initializes a new instance of the Watermarker class with the specified stream.
| |
Watermarker(String) |
Initializes a new instance of the Watermarker class with the specified document path.
| |
Watermarker(Stream, LoadOptions) |
Initializes a new instance of the Watermarker class with the specified stream
and load options.
| |
Watermarker(Stream, WatermarkerSettings) |
Initializes a new instance of the Watermarker class with the specified stream
and settings.
| |
Watermarker(String, LoadOptions) |
Initializes a new instance of the Watermarker class with the specified
document path and load options.
| |
Watermarker(String, WatermarkerSettings) |
Initializes a new instance of the Watermarker class with the specified
document path and settings.
| |
Watermarker(Stream, LoadOptions, WatermarkerSettings) |
Initializes a new instance of the Watermarker class with the specified stream,
load options and settings.
| |
Watermarker(String, LoadOptions, WatermarkerSettings) |
Initializes a new instance of the Watermarker class with the specified
document path, load options and settings.
|
Name | Description | |
---|---|---|
SearchableObjects |
Gets or sets the content objects that are to be included in a watermark search.
|
Name | Description | |
---|---|---|
Add(Watermark) |
Adds a watermark to the loaded document.
| |
Add(Watermark, WatermarkOptions) |
Adds a watermark to the loaded document using watermark options.
| |
Dispose |
Disposes the current instance.
| |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GeneratePreview |
Generates preview images for the document.
| |
GetContentT |
Returns the Content object for the loaded document.
| |
GetDocumentInfo |
Gets the information about the format of the loaded document.
| |
GetHashCode | (Inherited from Object.) | |
GetImages |
Finds all images in the document.
| |
GetImages(ImageSearchCriteria) |
Finds images according to specified search criteria.
| |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
Remove(PossibleWatermark) |
Removes watermark from the document.
| |
Remove(PossibleWatermarkCollection) |
Removes all watermarks in the collection from the document.
| |
Save |
Saves the document data to the underlying stream.
| |
Save(Stream) |
Saves the document to the specified stream.
| |
Save(String) |
Saves the document to the specified file location.
| |
Save(SaveOptions) |
Saves the document data to the underlying stream using save options.
| |
Save(Stream, SaveOptions) |
Saves the document to the specified stream using save options.
| |
Save(String, SaveOptions) |
Saves the document to the specified file location using save options.
| |
Search |
Searches all possible watermarks in the document.
| |
Search(SearchCriteria) |
Searches possible watermarks according to specified search criteria.
| |
ToString | (Inherited from Object.) |
// Load a content from a file. using (Watermarker watermarker = new Watermarker("D:\\input.pdf")) { // Use methods of Watermarker class to add, search or remove watermarks. // Save changes. watermarker.Save("D:\\output.pdf"); }