Skip to content

PdfContentRedactionOptions.RedactedPixelsColor Property

Gets or sets the pixels color in redacted images.

C#
public PdfColor RedactedPixelsColor { get; set; }

Property Value

PdfColor

Color used for redacted pixels in an image.

Remarks

Note: The library will try to set the redacted pixels in an image to this color if possible. If not possible, the redacted pixels will be set to 0. Also due to the PDF internal color transformations that can be applied to an image, the final visible color of the redacted pixels might not match this color.