The pre-rasterize flag indicating whether the file should be pre-rasterized.
Example
fromgroupdocs.redactionimportRedactorfromgroupdocs.redaction.optionsimportLoadOptions,SaveOptionsfromgroupdocs.redaction.redactionsimportExactPhraseRedaction,ReplacementOptionsdefload_password_protected_file():# Specify the load options with the document passwordload_opt=LoadOptions("mypassword")# Specify the redaction optionsrepl_opt=ReplacementOptions("[personal]")ex_red=ExactPhraseRedaction("Emily Johnson",repl_opt)# Load the password-protected document to be redactedwithRedactor("./protected.docx",load_opt)asredactor:redactor.apply(ex_red)# Save the redacted document in its original formatso=SaveOptions()so.add_suffix=Trueso.rasterize_to_pdf=Falseso.redacted_file_suffix="redacted"result_path=redactor.save(so)print(f"Document redacted successfully.\nCheck output in {result_path}.")if__name__=="__main__":load_password_protected_file()