getBaseFont: Return the workbook default font

View source: R/wrappers.R

getBaseFontR Documentation

Return the workbook default font

Description

Return the workbook default font

Returns the base font used in the workbook.

Usage

getBaseFont(wb)

Arguments

wb

A workbook object

Author(s)

Alexander Walker

Examples

## create a workbook
wb <- createWorkbook()
getBaseFont(wb)

## modify base font to size 10 Arial Narrow in red
modifyBaseFont(wb, fontSize = 10, fontColour = "#FF0000", fontName = "Arial Narrow")

getBaseFont(wb)

openxlsx documentation built on Sept. 20, 2024, 5:08 p.m.