__init__ constructor

On this page

init

Initializes a new instance of the TemplateFixedPosition class.

def __init__(self, rectangle):
    ...
Parameter Type Description
rectangle Rectangle The rectangular area that contains the template field.

Example

from groupdocs.parser.templates import TemplateFixedPosition
from groupdocs.parser.data import Rectangle, Point, Size

rect = Rectangle(Point(35.0, 135.0), Size(100.0, 10.0))
fixed_pos = TemplateFixedPosition(rect)

See Also

On this page