Skip to content

PageMargins

Source code

Description

Information about page margins for view/print layouts.

https://openpyxl.readthedocs.io/en/stable/api/openpyxl.worksheet.page.html

Usage

PageMargins(
  left = 0.75,
  right = 0.75,
  top = 1L,
  bottom = 1L,
  header = 0.5,
  footer = 0.5,
  ...
)

Arguments

left left
right right
top top
bottom bottom
header header
footer footer
Additional arguments, i.e. kwargs.

Details

Standard values (in inches) left, right = 0.75 top, bottom = 1 header, footer = 0.5

Value

An openpyxl Python object.

Examples

library("xlcharts")

PageMargins()