create_border {openxlsx2}R Documentation

Helper to create a border

Description

Border styles can any of the following: "thin", "thick", "slantDashDot", "none", "mediumDashed", "mediumDashDot", "medium", "hair", "double", "dotted", "dashed", "dashedDotDot", "dashDot" Border colors can be created with wb_color()

Usage

create_border(
  diagonal_down = "",
  diagonal_up = "",
  outline = "",
  bottom = NULL,
  bottom_color = NULL,
  diagonal = NULL,
  diagonal_color = NULL,
  end = "",
  horizontal = "",
  left = NULL,
  left_color = NULL,
  right = NULL,
  right_color = NULL,
  start = "",
  top = NULL,
  top_color = NULL,
  vertical = "",
  ...
)

Arguments

diagonal_down

x

diagonal_up

x

outline

x

bottom

X

bottom_color, diagonal_color, left_color, right_color, top_color

a color created with wb_color()

diagonal

X

end

x,

horizontal

x

left

x

right

x

start

x

top

x

vertical

x

...

x

See Also

wb_add_border()

Other style creating functions: create_cell_style(), create_colors_xml(), create_dxfs_style(), create_fill(), create_font(), create_numfmt(), create_tablestyle()


[Package openxlsx2 version 1.8 Index]