Page constructor

init

Initializes a new instance of the Page class.

def __init__(self):
    ...

init

Initializes a new instance of the Page class.

def __init__(self, size):
    ...
ParameterTypeDescription
sizeSizeThe page size.

init

Initializes a new instance of the Page class.

def __init__(self, margin):
    ...
ParameterTypeDescription
marginMarginThe margin.

init

Initializes a new instance of the Page class.

def __init__(self, size, margin):
    ...
ParameterTypeDescription
sizeSizeThe page size.
marginMarginThe margin.

See Also