Watermarker

Watermarker class

Provides methods intended to insert watermarks into the documents.

public class Watermarker : Processor

Methods

NameDescription
static Create(WatermarkerContext)Creates new instance of the watermarker processor.
Execute()Execute the processor action.
From(Stream, LoadOptions)Specifies input document for processing.
From(string, LoadOptions)Specifies input document for processing.
To(List<Stream>, SaveFormat)Specifies output Document streams list.
To(List<Stream>, SaveOptions)Specifies output Document streams list.
To(Stream, SaveFormat)Specifies output stream for the processor.
To(Stream, SaveOptions)Specifies output stream for the processor.
To(string, SaveFormat)Specifies output file for the processor.
To(string, SaveOptions)Specifies output file for the processor.
static SetImage(string, string, string)Adds an image watermark into the document.
static SetImage(string, string, string, ImageWatermarkOptions)Adds an image watermark into the document with options.
static SetImage(Stream, Stream, SaveFormat, Image, ImageWatermarkOptions)Adds an image watermark into the document from streams with options.
static SetImage(Stream, Stream, SaveFormat, Stream, ImageWatermarkOptions)Adds an image watermark into the document from streams with options.
static SetImage(Stream, Stream, SaveOptions, Image, ImageWatermarkOptions)Adds an image watermark into the document from streams with options.
static SetImage(Stream, Stream, SaveOptions, Stream, ImageWatermarkOptions)Adds an image watermark into the document from streams with options.
static SetImage(string, string, SaveFormat, string, ImageWatermarkOptions)Adds an image watermark into the document with options and specified save format.
static SetImage(string, string, SaveOptions, string, ImageWatermarkOptions)Adds an image watermark into the document with options and specified save format.
static SetText(string, string, string)Adds a text watermark into the document.
static SetText(string, string, string, TextWatermarkOptions)Adds a text watermark into the document with options.
static SetText(Stream, Stream, SaveFormat, string, TextWatermarkOptions)Adds a text watermark into the document from streams with options.
static SetText(Stream, Stream, SaveOptions, string, TextWatermarkOptions)Adds a text watermark into the document from streams with options.
static SetText(string, string, SaveFormat, string, TextWatermarkOptions)Adds a text watermark into the document with options and specified save format.
static SetText(string, string, SaveOptions, string, TextWatermarkOptions)Adds a text watermark into the document with options and specified save format.
static SetWatermarkToImages(Stream, ImageSaveOptions, Stream, ImageWatermarkOptions)Adds an image watermark into the document with options. Renders the output to images.
static SetWatermarkToImages(Stream, ImageSaveOptions, string, TextWatermarkOptions)Adds a text watermark into the document with options. Renders the output to images.
static SetWatermarkToImages(string, ImageSaveOptions, byte[], ImageWatermarkOptions)Adds an image watermark into the document with options. Renders the output to images.
static SetWatermarkToImages(string, ImageSaveOptions, string, TextWatermarkOptions)Adds a text watermark into the document with options. Renders the output to images.

See Also