Returns a Border object that represents the border of this section at the specified location. You can use the returned object to manipulate the borders for this section. Valid locations: Top, Left, Bottom, Right

 public Border GetBorder(Location location)
Public Function GetBorder(ByVal location As Location) As Border

A Border object that represents the border of this section at the specified location.

MS Word equivalent: Format menu > Borders and shading... > Borders tab


          Border oBorder = oSection.GetBorder(Border.Location.Top);
        

          Dim oBorder As Border = oSection.GetBorder(Border.Location.Top)