| 
Borders
SetBordersAttribute Method
  | 
 Sets the border attributes for the specified border type, line width, and color.
 Namespace:
 Spire.Doc.Documents
 Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
 Syntax
Syntax
 
 
public void SetBordersAttribute(
	BorderStyle borderType,
	float lineWidth,
	Color color
)
 
Public Sub SetBordersAttribute ( 
	borderType As BorderStyle,
	lineWidth As Single,
	color As Color
)
 
public:
void SetBordersAttribute(
	BorderStyle borderType, 
	float lineWidth, 
	Color color
)
 
member SetBordersAttribute : 
borderType : BorderStyle * 
lineWidth : float32 * 
color : Color -> unit 
 
 
 
Parameters
 
- 
borderType
 
- 
 Type:
 
Spire.Doc.Documents
BorderStyle
 
 The type of border to set.
- 
lineWidth
 
- 
 Type:
 
System
Single
 
 The width of the border line.
- 
color
 
- 
 Type:
 
System.Drawing
Color
 
 The color of the border.
 
 See Also
See Also