Margins constructor

init

Initializes a new instance of the Margins class.

def __init__(self):
    ...

init

Initializes a new instance of the Margins class with the specified type, location and size.

def __init__(self, margin_type, left, right, top, bottom):
    ...
Parameter Type Description
margin_type MarginType The margin type. Specifies how margin values should be interpreted.
left float The left margin value.
right float The right margin value.
top float The top margin value.
bottom float The bottom margin value.

See Also