IRasterizableDocument
Leave feedback
On this page
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
| 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. |
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 |
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 |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.