VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Office.OpenXml.Editor Namespace / OpenXmlDocumentTable Class / SetOutsideBorder Methods / SetOutsideBorder(Rectangle,OpenXmlDocumentTableCell) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    SetOutsideBorder(Rectangle,OpenXmlDocumentTableCell) 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 _
    )

    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.
    Exceptions
    ExceptionDescription
    Thrown if borderSource is null.
    Requirements

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

    See Also