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
- More details about applying redactions: Redaction basics
- More details about saving document as a rasterized PDF: Save in rasterized PDF
- More details about rasterization options: Select specific pages for rasterized PDF
- More details about implementing custom formats: Create custom format handler
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 |