Skip to content

RenderPageProperties::AddRedaction method

Add a redaction to the list of redactions.

Overloads

AddRedaction(System.Drawing.Rectangle, System.Drawing.Color) Add a redaction to the list of redactions.
AddRedaction(int, int, int, int, string) Add a redaction to the list of redactions.

AddRedaction(System.Drawing.Rectangle, System.Drawing.Color)

Prototype

void AddRedaction(System.Drawing.Rectangle rect, System.Drawing.Color color)

Parameters

rect: System.Drawing.Rectangle : The bounding rectangle of the redaction.

color: System.Drawing.Color : The color of the redaction.


AddRedaction(int, int, int, int, string)

Prototype

void AddRedaction(int left, int top, int right, int bottom, string color)

Parameters

left: int : The left bounds of the rectangle to redact.

top: int : The top bounds of the rectangle to redact.

right: int : The right bounds of the rectangle to redact.

bottom: int : The bottom bounds of the rectangle to redact.

color: string : The color of the redaction.