PageAreaFilter class

PageAreaFilter class

Represents redaction filter, setting an area within a page of a document to apply redaction.

Learn more

The PageAreaFilter type exposes the following members:

Constructors

Constructor Description
init Initializes a new PageAreaFilter for redacting a specific area.

Properties

Property Description
area_rectangle The rectangle (top-left position and size of the area) on a page.
rectangle The rectangle (top-left position and size of the area) on a page.

Example

from groupdocs.redaction.redactions import PageAreaFilter
from groupdocs.redaction.options.drawing import Point, Size

# Define the top‑left corner of the area
origin = Point(0, 100)

# Define the size of the area
area_size = Size(200, 300)

# Create a filter that limits redaction to the specified rectangle
filter = PageAreaFilter(origin, area_size)

Guides

Task guides that use PageAreaFilter:

See Also