RichTextBox for WPF | ComponentOne
C1.WPF.RichTextBox Namespace / EditExtensions Class / SetBorders Method
A C1.WPF.RichTextBox.Documents.C1TextRange inside a table.
The borders to configure.
The brush to use for the borders.
The thickness of the borders.

In This Topic
    SetBorders Method (EditExtensions)
    In This Topic
    Configures the borders of the table cells in a range.
    Syntax
    'Declaration
     
    
    Public Shared Sub SetBorders( _
       ByVal range As C1TextRange, _
       ByVal flags As C1BorderFlags, _
       ByVal brush As Brush, _
       ByVal thickness As Double _
    ) 
    public static void SetBorders( 
       C1TextRange range,
       C1BorderFlags flags,
       Brush brush,
       double thickness
    )

    Parameters

    range
    A C1.WPF.RichTextBox.Documents.C1TextRange inside a table.
    flags
    The borders to configure.
    brush
    The brush to use for the borders.
    thickness
    The thickness of the borders.
    See Also