__init__ constructor

On this page

init

Initializes a new PageAreaFilter for redacting a specific area.

def __init__(self, top_left, size):
    ...
Parameter Type Description
top_left Point Top-left area coordinates.
size Size Area size.

Example

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

# Define the top-left corner and size of the redaction area
top_left = Point(0, 100)
area_size = Size(200, 150)

# Create the filter
filter = PageAreaFilter(top_left, area_size)

See Also

On this page