Skip to content

Font

Source code

Description

Font options used in styles.

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

Usage

Font(
  name = NULL,
  sz = NULL,
  b = NULL,
  i = NULL,
  charset = NULL,
  u = NULL,
  strike = NULL,
  color = NULL,
  scheme = NULL,
  family = NULL,
  size = NULL,
  bold = NULL,
  italic = NULL,
  strikethrough = NULL,
  underline = NULL,
  vertAlign = NULL,
  outline = NULL,
  shadow = NULL,
  condense = NULL,
  extend = NULL,
  ...
)

Arguments

name name
sz sz
b b
i i
charset charset
u u
strike strike
color color
scheme scheme
family family
size size
bold bold
italic italic
strikethrough strikethrough
underline underline
vertAlign vertAlign
outline outline
shadow shadow
condense condense
extend extend
… Additional arguments, i.e. kwargs.

Value

An openpyxl Python object.

Examples

library("xlcharts")

Font()