Watermarker class

Watermarker class

Provides methods intended to insert watermarks into the documents.

Inheritance: WatermarkerProcessor

Methods

NameDescription
create(context)Creates new instance of the watermarker processor.
execute()Execute the processor action.
(Inherited from Processor)
from_file(input)Specifies input document for processing.
(Inherited from Processor)
from_file(input, load_options)Specifies input document for processing.
(Inherited from Processor)
from_stream(input)Specifies input document for processing.
(Inherited from Processor)
from_stream(input, load_options)Specifies input document for processing.
(Inherited from Processor)
set_image(input_file_name, output_file_name, watermark_image_file_name)Adds an image watermark into the document.
set_image(input_file_name, output_file_name, watermark_image_file_name, options)Adds an image watermark into the document with options.
set_image(input_file_name, output_file_name, save_format, watermark_image_file_name)Adds an image watermark into the document with options and specified save format.
set_image(input_file_name, output_file_name, save_format, watermark_image_file_name, options)Adds an image watermark into the document with options and specified save format.
set_image(input_file_name, output_file_name, save_options, watermark_image_file_name)Adds an image watermark into the document with options and specified save format.
set_image(input_file_name, output_file_name, save_options, watermark_image_file_name, options)Adds an image watermark into the document with options and specified save format.
set_image(input_stream, output_stream, save_format, watermark_image_stream)
set_image(input_stream, output_stream, save_format, watermark_image_stream, options)
set_image(input_stream, output_stream, save_options, watermark_image_stream)
set_image(input_stream, output_stream, save_options, watermark_image_stream, options)
set_text(input_file_name, output_file_name, watermark_text)Adds a text watermark into the document.
set_text(input_file_name, output_file_name, watermark_text, options)Adds a text watermark into the document with options.
set_text(input_file_name, output_file_name, save_format, watermark_text)Adds a text watermark into the document with options and specified save format.
set_text(input_file_name, output_file_name, save_format, watermark_text, options)Adds a text watermark into the document with options and specified save format.
set_text(input_file_name, output_file_name, save_options, watermark_text)Adds a text watermark into the document with options and specified save format.
set_text(input_file_name, output_file_name, save_options, watermark_text, options)Adds a text watermark into the document with options and specified save format.
set_text(input_stream, output_stream, save_format, watermark_text)Adds a text watermark into the document from streams with options.
set_text(input_stream, output_stream, save_format, watermark_text, options)Adds a text watermark into the document from streams with options.
set_text(input_stream, output_stream, save_options, watermark_text)Adds a text watermark into the document from streams with options.
set_text(input_stream, output_stream, save_options, watermark_text, options)Adds a text watermark into the document from streams with options.
set_watermark_to_images(input_file_name, save_options, watermark_text)Adds a text watermark into the document with options. Renders the output to images.
set_watermark_to_images(input_file_name, save_options, watermark_text, options)Adds a text watermark into the document with options. Renders the output to images.
set_watermark_to_images(input_stream, save_options, watermark_text)Adds a text watermark into the document with options. Renders the output to images.
set_watermark_to_images(input_stream, save_options, watermark_text, options)Adds a text watermark into the document with options. Renders the output to images.
set_watermark_to_images(input_file_name, save_options, watermark_image_bytes)Adds an image watermark into the document with options. Renders the output to images.
set_watermark_to_images(input_file_name, save_options, watermark_image_bytes, options)Adds an image watermark into the document with options. Renders the output to images.
set_watermark_to_images(input_stream, save_options, watermark_image_stream)Adds an image watermark into the document with options. Renders the output to images.
set_watermark_to_images(input_stream, save_options, watermark_image_stream, options)Adds an image watermark into the document with options. Renders the output to images.
to_file(output)Specifies output file for the processor.
(Inherited from Processor)
to_file(output, save_options)Specifies output file for the processor.
(Inherited from Processor)
to_file(output, save_format)Specifies output file for the processor.
(Inherited from Processor)
to_stream(output, save_options)Specifies output stream for the processor.
(Inherited from Processor)
to_stream(output, save_format)Specifies output stream for the processor.
(Inherited from Processor)
to_streams(output, save_options)
(Inherited from Processor)
to_streams(output, save_format)
(Inherited from Processor)

See Also