Skip to content

PdfContentRedactionOptions.DuplicateRedactedImages Property

Gets or sets a value indicating whether redacted images should be duplicated in the output.

C#
public bool DuplicateRedactedImages { get; set; }

Property Value

Boolean

Set this property to true to duplicate the images that have been redacted. If set to false, the images are redacted in place.

Remarks

If a redacted image is used only once in the PDF file, then it is redacted in place regardless of the value of this property. If a redacted image is used multiple times in the PDF file, then it is duplicated and redacted only in the duplicated instance that matches the redaction area if this property is set to true. Otherwise, if this property is set to false, the original image is redacted in place and the redaction area will appear in all places where the image is displayed.