java.lang.Object | |
↳ | com.pdftron.pdf.Redactor.Redaction |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Redaction(int page_num, Rect bbox, boolean negative, String text) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
close()
Frees the native memory of the object.
| ||||||||||
void |
destroy()
Frees the native memory of the object.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
java.lang.AutoCloseable
|
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 |
---|
Frees the native memory of the object. This can be explicity called to control the deallocation of native memory and avoid situations where the garbage collector does not free the object in a timely manner.
PDFNetException |
---|
Frees the native memory of the object. This can be explicitly called to control the deallocation of native memory and avoid situations where the garbage collector does not free the object in a timely manner.