@brief Set the cell border style.
@param format Pointer to a Format instance. @param style Border style index.
Set the cell border style:
@code format_set_border(format, LXW_BORDER_THIN); @endcode
Individual border elements can be configured using the following functions with the same parameters:
- format_set_bottom() - format_set_top() - format_set_left() - format_set_right()
A cell border is comprised of a border on the bottom, top, left and right. These can be set to the same value using format_set_border() or individually using the relevant method calls shown above.
The following border styles are available:
- #LXW_BORDER_THIN - #LXW_BORDER_MEDIUM - #LXW_BORDER_DASHED - #LXW_BORDER_DOTTED - #LXW_BORDER_THICK - #LXW_BORDER_DOUBLE - #LXW_BORDER_HAIR - #LXW_BORDER_MEDIUM_DASHED - #LXW_BORDER_DASH_DOT - #LXW_BORDER_MEDIUM_DASH_DOT - #LXW_BORDER_DASH_DOT_DOT - #LXW_BORDER_MEDIUM_DASH_DOT_DOT - #LXW_BORDER_SLANT_DASH_DOT
The most commonly used style is the thin style.
See Implementation
@brief Set the cell border style.
@param format Pointer to a Format instance. @param style Border style index.
Set the cell border style:
@code format_set_border(format, LXW_BORDER_THIN); @endcode
Individual border elements can be configured using the following functions with the same parameters:
- format_set_bottom() - format_set_top() - format_set_left() - format_set_right()
A cell border is comprised of a border on the bottom, top, left and right. These can be set to the same value using format_set_border() or individually using the relevant method calls shown above.
The following border styles are available:
- #LXW_BORDER_THIN - #LXW_BORDER_MEDIUM - #LXW_BORDER_DASHED - #LXW_BORDER_DOTTED - #LXW_BORDER_THICK - #LXW_BORDER_DOUBLE - #LXW_BORDER_HAIR - #LXW_BORDER_MEDIUM_DASHED - #LXW_BORDER_DASH_DOT - #LXW_BORDER_MEDIUM_DASH_DOT - #LXW_BORDER_DASH_DOT_DOT - #LXW_BORDER_MEDIUM_DASH_DOT_DOT - #LXW_BORDER_SLANT_DASH_DOT
The most commonly used style is the thin style.