PDF4Java Reference Documentation
com.o2sol.pdf4java.redaction Package / PDFContentRedactor Class / redactAnnotation Method
The redaction annotation that specifies the area to redact.
Collapse All Expand All
In This Topic

redactAnnotation Method
In This Topic
Redacts the area specified by the redaction annotation.
Syntax

    public void redactAnnotation(
       PDFRedactionAnnotation redactionAnnotation
    )

#### Parameters

redactionAnnotation
  The redaction annotation that specifies the area to redact.

Exceptions

Exception | Description
--- | ---
java.lang.IllegalArgumentException | When redactionAnnotation is null or the redactionAnnotation does not belong to current page.

See Also

#### Reference

PDFContentRedactor Class
PDFContentRedactor Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.