IRasterizableDocument

public interface IRasterizableDocument

Defines methods that are required for saving document in any binary form. Built-in types save a document as a PDF with images of its pages.


Learn more

Methods

Method Description
rasterize(OutputStream output) Saves the document to a stream as a PDF.
rasterize(OutputStream output, RasterizationOptions options) Saves the document to a stream as a PDF with page range and compliance options.

rasterize(OutputStream output)

public abstract void rasterize(OutputStream output)

Saves the document to a stream as a PDF.

Parameters:

Parameter Type Description
output java.io.OutputStream Target stream

rasterize(OutputStream output, RasterizationOptions options)

public abstract void rasterize(OutputStream output, RasterizationOptions options)

Saves the document to a stream as a PDF with page range and compliance options.

Parameters:

Parameter Type Description
output java.io.OutputStream Target stream
options RasterizationOptions PDF conversion options