h1: Create Excel header style.

View source: R/openxlsx-functions.R

h1R Documentation

Create Excel header style.

Description

Create Excel header style. Depends on the openxlsx package. All arguments have default values and are optional to allow parameters to be modified.

Usage

h1(
  fill = "#1A1B41",
  color = "#FFFFFF",
  font = "Arial Black",
  size = 10,
  h = "center",
  v = "center",
  style = "Bold",
  border = "Bottom",
  bstyle = "thick",
  ...
)

Arguments

fill

Header foreground fill.

color

Header font color.

font

Header font name.

size

Header font size.

h

Horizontal alignment of header contents.

v

Vertical alignment of header contents.

style

Header text styling.

border

Header cell border.

bstyle

Header border line style.

...

Other arguments to be passed to openxlsx::createStyle().

Value

openxlsx style object.

Author(s)

Ayush Noori


ayushnoori/brainstorm documentation built on April 14, 2025, 4:12 p.m.