Use advanced rasterization options In order to use the advanced rasterization options you have to pass one of the options to Save method. In this case the Document will be rasterized to PDF, but the scan-like effects will be applied to its pages.
The following example demonstrates how to apply the AdvancedRasterizationOptions with default settings.
use_advanced_rasterization_options.py from groupdocs.Redaction import Redactor from groupdocs.Redaction.options import SaveOptions, AdvancedRasterizationOptions from groupdocs.Redaction.Redactions import ExactPhraseRedaction, ReplacementOptions def use_advanced_rasterization_options(): # Specify the Redaction options repl_opt = ReplacementOptions("[personal]") ex_red = ExactPhraseRedaction("John Doe", repl_opt) # Load the Document to be redacted with Redactor("....Redaction Product Solution GroupDocs...Acquisition GroupDocs Documentation / GroupDocs.Redaction Product Family...