com.groupdocs.redaction.integration

Interface 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.

    • Method Detail

      • rasterize

        void rasterize(OutputStream output)
                       throws Exception

        Saves the document to a stream as a PDF.

        Parameters:
        output - Target stream
        Throws:
        java.lang.Exception;
        Exception
      • rasterize

        void rasterize(OutputStream output,
                     RasterizationOptions options)
                       throws Exception

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

        Parameters:
        output - Target stream
        options - PDF conversion options
        Throws:
        java.lang.Exception;
        Exception