public static class Redactor.Redaction
extends java.lang.Object
Constructor and Description |
---|
Redaction(int page_num,
Rect bbox,
boolean negative,
java.lang.String text) |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Frees the native memory of the object.
|
public Redaction(int page_num, Rect bbox, boolean negative, java.lang.String text) throws PDFNetException
page_num
- - a page number on which to perform the redaction.bbox
- - the bounding box for the redaction in PDF page coordinate system.negative
- - if true, remove the content outside of the redaction area,
otherwise remove the content inside the redaction area.text
- - optional anchor text to be placed in the redaction region.PDFNetException