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.
Modifier and Type | Method and Description |
---|---|
void |
rasterize(OutputStream output)
Saves the document to a stream as a PDF.
|
void |
rasterize(OutputStream output,
RasterizationOptions options)
Saves the document to a stream as a PDF with page range and compliance options.
|
void rasterize(OutputStream output) throws Exception
Saves the document to a stream as a PDF.
output
- Target streamjava.lang.Exception;
Exception
void rasterize(OutputStream output, RasterizationOptions options) throws Exception
Saves the document to a stream as a PDF with page range and compliance options.
output
- Target streamoptions
- PDF conversion optionsjava.lang.Exception;
Exception