PDF4Java Reference Documentation
com.o2sol.pdf4java.redaction Package / PDFContentRedactor Class / redactArea Method / redactArea(PDFDisplayRectangle,PDFContentRedactionOptions) Method
Area from which the content should be redacted.
Options for content redaction.
Collapse All Expand All
In This Topic

redactArea(PDFDisplayRectangle,PDFContentRedactionOptions) Method
In This Topic
Redacts the page content from the specified area.
Syntax

    public void redactArea(
       PDFDisplayRectangle redactionArea,
       PDFContentRedactionOptions redactionOptions
    )

#### Parameters

redactionArea
  Area from which the content should be redacted.
redactionOptions
  Options for content redaction.

Exceptions

Exception | Description
--- | ---
java.lang.IllegalArgumentException | When redactionOptions is null.

See Also

#### Reference

PDFContentRedactor Class
PDFContentRedactor Members
Overload List

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.