Border {xlsx} | R Documentation |
Create an Border object, useful when working with cell styles.
Border(color="black", position="BOTTOM", pen="BORDER_THIN") is.Border(x)
color |
a character vector specifiying the font color. Any
color names as returned by |
position |
a character vector specifying the border position. Valid values are "BOTTOM", "LEFT", "TOP", "RIGHT". |
pen |
a character vector specifying the pen style. Valid values
come from constant |
x |
An Border object, as returned by |
The values for the color, position, or pen arguments are replicated to the longest of them.
Border
returns a list with components from the input
argument, and a class attribute "Border". Border objects are
used when constructing cell styles.
is.Border
returns TRUE
if the argument is of class
"Border" and FALSE
otherwise.
Adrian Dragulescu
CellStyle
for using the a Border
object.
border <- Border(color="red", position=c("TOP", "BOTTOM"), pen=c("BORDER_THIN", "BORDER_THICK"))