The following example demonstrates how to save the document as a rasterized PDF file:
final Redactor Redactor = new Redactor(Constants.SAMPLE_DOCX); try { // Here we can use document instance to perform Redactions Redactor.apply(new ExactPhraseRedaction("John Doe", new ReplacementOptions("[personal]"))); SaveOptions tmp0 = new SaveOptions(); tmp0.setAddSuffix(false); tmp0.setRasterizeToPDF(true); // Saving as rasterized PDF with no suffix in file name Redactor.save(tmp0); } finally { Redactor.close(); }...Redaction Product Solution GroupDocs...GroupDocs.Redaction Product Family / GroupDocs.Redaction for Java...