IDocumentProcessorPlugin class

IDocumentProcessorPlugin class

Defines an interface for external document processor plugin.

Methods

NameDescription
append(inputStream, loadOptions)Append the document loading it with the specified load options.
load(inputStream, loadOptions)Load the document using the specified load options.
save(outputStream, saveOptions)Save the document loaded by IDocumentProcessorPlugin.load() method to the output stream using the specified save options.
setImageWatermark(imageWatermark, imageWatermarkOptions)Adds image watermark on each page of the document loaded by IDocumentProcessorPlugin.load() method.
setTextWatermark(textWatermark, textWatermarkOptions)Adds text watermark on each page of the document loaded by IDocumentProcessorPlugin.load() method.
toDocument()Parses the document loaded by IDocumentProcessorPlugin.load() method into Document object.
toPages(saveOptions)Saves each page of the document loaded by IDocumentProcessorPlugin.load() method using the specified fixed page save options.

See Also