Skip to content

Alignment

Source code

Description

Alignment options for use in styles.

https://openpyxl.readthedocs.io/en/stable/api/openpyxl.styles.alignment.html

Usage

Alignment(
  horizontal = NULL,
  vertical = NULL,
  textRotation = 0L,
  wrapText = NULL,
  shrinkToFit = NULL,
  indent = 0L,
  relativeIndent = 0L,
  justifyLastLine = NULL,
  readingOrder = 0L,
  text_rotation = NULL,
  wrap_text = NULL,
  shrink_to_fit = NULL,
  mergeCell = NULL,
  ...
)

Arguments

horizontal horizontal
vertical vertical
textRotation textRotation
wrapText wrapText
shrinkToFit shrinkToFit
indent indent
relativeIndent relativeIndent
justifyLastLine justifyLastLine
readingOrder readingOrder
text_rotation text_rotation
wrap_text wrap_text
shrink_to_fit shrink_to_fit
mergeCell mergeCell
Additional arguments, i.e. kwargs.

Value

An openpyxl Python object.

Examples

library("xlcharts")

Alignment()