__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 System.Drawing.Point Top-left area coordinates.
size System.Drawing.Size Area size and color.

Example

from groupdocs.redaction.redactions import PageAreaFilter
from groupdocs.pydrawing import Point, Size

point = Point(0, 100)
size = Size(200, 150)
filter = PageAreaFilter(point, size)

See Also

On this page