PageSetup

class PageSetup(impl)
property api

Returns the native object (pywin32 or appscript obj) of the engine being used.

Added in version 0.24.2.

property print_area

Gets or sets the range address that defines the print area.

Examples

>>> mysheet.page_setup.print_area = '$A$1:$B$3'
>>> mysheet.page_setup.print_area
'$A$1:$B$3'
>>> mysheet.page_setup.print_area = None  # clear the print_area

Added in version 0.24.2.