__init__ constructor

On this page

init

Initializes a size for a rectangular redaction area.

def __init__(self, width, height):
    ...
Parameter Type Description
width int Width in pixels.
height int Height in pixels.

Example

    from groupdocs.redaction.options.drawing import Size

    # Define the size of the redaction area
    area_size = Size(1793, 2069)
    ```

### See Also
* class [`Size`](/redaction/python-net/groupdocs.redaction.options.drawing/size/)

On this page