ComponentOne Word for WinForms
C1.C1Word.4.5.2 Assembly / C1.C1Word.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 System.Drawing.Color, _
       ByVal width As System.Single _
    ) 
    public void SetRectBorder( 
       RtfBorderStyle style,
       System.Drawing.Color clr,
       System.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