get_margins method

get_margins

Gets page margins values Predefined page margins namePredefined page margins values

def get_margins(self, margins_size):
    ...
ParameterTypeDescription
margins_sizestr

get_margins

Calculate page margins мфдгуы in specified orientation Original marginsOrientation of the pageЗredefined page margins for given orientation

def get_margins(self, margins, orientation):
    ...
ParameterTypeDescription
marginsMargins
orientationstr

See Also