VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Office.OpenXml.Editor Namespace / OpenXmlDocumentTable Class / SetOutsideBorder Methods / SetOutsideBorder(Rectangle,OpenXmlDocumentTableCell,BorderSide) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
SetOutsideBorder(Rectangle,OpenXmlDocumentTableCell,BorderSide) Method (OpenXmlDocumentTable)
In This Topic
Sets the outside border of cells.
Syntax
'Declaration

Public Overloads Sub SetOutsideBorder( _
ByVal cellRect
The rectangle in table grid. For example, "Rectangle(1, 0, 2, 3)" means that outside border must be set for the following cells: [1,0], [2,0], [1,1], [2,1], [1,2], [2,2].
As System.Drawing.Rectangle, _
ByVal borderSource
The cell from which border style must be copied.
As OpenXmlDocumentTableCell, _
ByVal borderSide
The border side.
As Vintasoft.Imaging.Office.BorderSide _
)

Parameters

cellRect
The rectangle in table grid. For example, "Rectangle(1, 0, 2, 3)" means that outside border must be set for the following cells: [1,0], [2,0], [1,1], [2,1], [1,2], [2,2].
borderSource
The cell from which border style must be copied.
borderSide
The border side.
Exceptions
ExceptionDescription
Thrown if borderSource is null.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also