Sets the borders for all possible border positions in the table with the specified style, line width, and color.
Namespace:
Spire.Doc
Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public void SetBorders(
BorderStyle borderStyle,
float lineWidth,
Color color
)
Public Sub SetBorders (
borderStyle As BorderStyle,
lineWidth As Single,
color As Color
)
public:
void SetBorders(
BorderStyle borderStyle,
float lineWidth,
Color color
)
member SetBorders :
borderStyle : BorderStyle *
lineWidth : float32 *
color : Color -> unit
Parameters
-
borderStyle
-
Type:
Spire.Doc.Documents
BorderStyle
The style of the border (e.g., solid, dashed).
-
lineWidth
-
Type:
System
Single
The width of the border line.
-
color
-
Type:
System.Drawing
Color
The color of the border line.
See Also