getBaseFont: Return the workbook default font

Description Usage Arguments Author(s) Examples

View source: R/wrappers.R

Description

Return the workbook default font

Returns the base font used in the workbook.

Usage

1

Arguments

wb

A workbook object

Author(s)

Alexander Walker

Examples

1
2
3
4
5
6
7
8
## 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 May 30, 2017, 5:37 a.m.

Search within the openxlsx package
Search all R packages, documentation and source code