Click or drag to resize

Table SetBorder Method

Sets the border for the specified border positions and style.

Namespace: Spire.Doc
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public void SetBorder(
	BorderPositions borderPos,
	BorderStyle borderStyle,
	float lineWidth,
	Color color,
	bool isOverrideCellBorders
)

Parameters

borderPos
Type: Spire.Doc.Formatting BorderPositions
The border positions to set.
borderStyle
Type: Spire.Doc.Documents BorderStyle
The border style to apply.
lineWidth
Type: System Single
The line width of the border.
color
Type: System.Drawing Color
The color of the border.
isOverrideCellBorders
Type: System Boolean
Indicates whether to override cell borders.
See Also