Skip to content

PrintPageSetup

Source code

Description

Worksheet print page setup

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

Usage

PrintPageSetup(
  worksheet = NULL,
  orientation = NULL,
  paperSize = NULL,
  scale = NULL,
  fitToHeight = NULL,
  fitToWidth = NULL,
  firstPageNumber = NULL,
  useFirstPageNumber = NULL,
  paperHeight = NULL,
  paperWidth = NULL,
  pageOrder = NULL,
  usePrinterDefaults = NULL,
  blackAndWhite = NULL,
  draft = NULL,
  cellComments = NULL,
  errors = NULL,
  horizontalDpi = NULL,
  verticalDpi = NULL,
  copies = NULL,
  id = NULL,
  ...
)

Arguments

worksheet worksheet
orientation orientation
paperSize paperSize
scale scale
fitToHeight fitToHeight
fitToWidth fitToWidth
firstPageNumber firstPageNumber
useFirstPageNumber useFirstPageNumber
paperHeight paperHeight
paperWidth paperWidth
pageOrder pageOrder
usePrinterDefaults usePrinterDefaults
blackAndWhite blackAndWhite
draft draft
cellComments cellComments
errors errors
horizontalDpi horizontalDpi
verticalDpi verticalDpi
copies copies
id id
Additional arguments, i.e. kwargs.

Value

An openpyxl Python object.

Examples

library("xlcharts")

PrintPageSetup()