DocxTable.SetBorders Method

QsInformatica.Utils

DocxTableSetBorders Method

Set the table borders

Namespace:  QsGemBox.Docx
Assembly:  QsGemBox (in QsGemBox.dll) Version: 22.4.2.0 (22.4.2.0)
Syntax
public DocxTable SetBorders(
	int borderType,
	int borderStyle,
	Color color,
	double width
)
Public Function SetBorders ( 
	borderType As Integer,
	borderStyle As Integer,
	color As Color,
	width As Double
) As DocxTable
public:
DocxTable^ SetBorders(
	int borderType, 
	int borderStyle, 
	Color color, 
	double width
)
member SetBorders : 
        borderType : int * 
        borderStyle : int * 
        color : Color * 
        width : float -> DocxTable 

Parameters

borderType
Type: SystemInt32
None = 0, Left = 1, Top = 2, Right = 4, Bottom = 8, Outside = 15, InsideHorizontal = 16, InsideVertical = 32, Inside = 48, DiagonalDown = 64, DiagonalUp = 128, Diagonal = 192, All = 255
borderStyle
Type: SystemInt32
None = 0, Single = 1, Double = 2, Triple = 3, Dotted = 4, Dashed = 5, DotDash = 6, DotDotDash = 7, Wave = 8, DoubleWave = 9,
color
Type: System.DrawingColor
The color.
width
Type: SystemDouble
The width.

Return Value

Type: DocxTable
DocxTable.
See Also