The top-left position of the area to remove. This property is obsolete; use ImageAreaRedaction.TopLeft instead.
Example
fromgroupdocs.redactionimportRedactor,RedactionStatusfromgroupdocs.redaction.optionsimportSaveOptionsfromgroupdocs.redaction.redactionsimportImageAreaRedaction,RegionReplacementOptionsfromgroupdocs.redaction.options.drawingimportColor,Point,Sizedefredact_image_area():# Define the top‑left position of the area to redactsample_point=Point(385,485)# Define the size of the area which needs to be redactedsample_size=Size(1793,2069)# Define the color of the redaction boxcolor=Color.from_argb(255,220,20,60)# Specify the redaction optionsrepl_opt=RegionReplacementOptions(color,sample_size)img_red=ImageAreaRedaction(sample_point,repl_opt)# Load the document to be redactedwithRedactor("./sample.jpg")asredactor:result=redactor.apply(img_red)ifresult.status!=RedactionStatus.FAILED:save_options=SaveOptions()save_options.add_suffix=Truesave_options.rasterize_to_pdf=Truesave_options.redacted_file_suffix="redacted"redactor.save(save_options)