Create a fp_border() object that uses defaut values defined in flextable defaults formatting properties, i.e. default border color (see set_flextable_defaults()).

fp_border_default(
  color = flextable_global$defaults$border.color,
  style = "solid",
  width = 1
)

Arguments

color

border color - single character value (e.g. "#000000" or "black")

style

border style - single character value : "none" or "solid" or "dotted" or "dashed"

width

border width - an integer value : 0>= value

See also

hline(), vline()

Other functions for defining formatting properties: fp_text_default()

Examples

fp_border_default(width = 2)
#> line: color: #666666, width: 2, style: solid