rasterize method

rasterize(self, output)

Saves the document to a stream as a PDF.


def rasterize(self, output):
    ...
Parameter Type Description
output io.RawIOBase Target stream

rasterize(self, output, options)

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


def rasterize(self, output, options):
    ...
Parameter Type Description
output io.RawIOBase Target stream
options groupdocs.redaction.options.RasterizationOptions PDF conversion options

See Also