PdfContentRedactor.RedactArea Method
Overloads
| Name | Description |
|---|---|
| RedactArea(PdfVisualRectangle) | Redacts the page content from the specified area. |
| RedactArea(PdfVisualRectangle,PdfColor) | Redacts the page content from the specified area. |
| RedactArea(PdfVisualRectangle,PdfColor,PdfContentRedactType) | Redacts the page content from the specified area. |
| RedactArea(PdfVisualRectangle,PdfContentRedactionOptions) | Redacts the page content from the specified area. |
RedactArea(PdfVisualRectangle)
Redacts the page content from the specified area.
Parameters
redactionArea PdfVisualRectangle
Area from which the content should be redacted.
Remarks
If BeginRedaction method has not been called before then the content is redacted immediately. Otherwise the redaction area is stored and the redaction takes place when ApplyRedaction method has been called.
RedactArea(PdfVisualRectangle,PdfColor)
Redacts the page content from the specified area.
Parameters
redactionArea PdfVisualRectangle
Area from which the content should be redacted.
redactionColor PdfColor
Color used for masking the redacted area.
Remarks
If BeginRedaction method has not been called before then the content is redacted immediately. Otherwise the redaction area is stored and the redaction takes place when ApplyRedaction method has been called.
RedactArea(PdfVisualRectangle,PdfColor,PdfContentRedactType)
Redacts the page content from the specified area.
public void RedactArea(PdfVisualRectangle redactionArea, PdfColor redactionColor, PdfContentRedactType contentRedactType)
Parameters
redactionArea PdfVisualRectangle
Area from which the content should be redacted.
redactionColor PdfColor
Color used for masking the redacted area.
contentRedactType PdfContentRedactType
Specifies the type of content to be redacted.
Remarks
If BeginRedaction method has not been called before then the content is redacted immediately. Otherwise the redaction area is stored and the redaction takes place when ApplyRedaction method has been called.
RedactArea(PdfVisualRectangle,PdfContentRedactionOptions)
Redacts the page content from the specified area.
public void RedactArea(PdfVisualRectangle redactionArea, PdfContentRedactionOptions redactionOptions)
Parameters
redactionArea PdfVisualRectangle
Area from which the content should be redacted.
redactionOptions PdfContentRedactionOptions
Options for content redaction.
Remarks
If BeginRedaction method has not been called before then the content is redacted immediately. Otherwise the redaction area is stored and the redaction takes place when ApplyRedaction method has been called.