public static class

Redactor.Redaction

extends Object
java.lang.Object
   ↳ com.pdftron.pdf.Redactor.Redaction

Summary

Public Constructors
Redaction(int page_num, Rect bbox, boolean negative, String text)
Public Methods
void destroy()
Frees the native memory of the object.
Protected Methods
void finalize()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Redaction (int page_num, Rect bbox, boolean negative, String text)

Parameters
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.

Public Methods

public void destroy ()

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.

Protected Methods

protected void finalize ()

Throws
Throwable