ComponentOne Word for WPF
C1.WPF.Word.4.5.2 Assembly / C1.WPF.Word.Objects Namespace / RtfBorderObject Class / SetRectBorder Method
A line style of the rectangle border.
A color of the rectangle border.
A line width of the rectangle border.

In This Topic
    SetRectBorder Method
    In This Topic
    Sets rectangle border around Word/RTF object.
    Syntax
    'Declaration
     
    Public Sub SetRectBorder( _
       ByVal style As RtfBorderStyle, _
       ByVal clr As Color, _
       ByVal width As Single _
    ) 
    public void SetRectBorder( 
       RtfBorderStyle style,
       Color clr,
       float width
    )

    Parameters

    style
    A line style of the rectangle border.
    clr
    A color of the rectangle border.
    width
    A line width of the rectangle border.
    See Also