Returns a Border object that lets you manipulate the border this table cell at a particular location.

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

A Location object that represents the location of the Border to return.

A Border object that represents the border for this table cell at a particular location.

Allowed locations are Top, Left, Bottom, and Right. They refer to the border for those sides of the table cell.

Word equivalent: Format menu > Borders and Shading... > Borders tab


          //--- Set the Left Border color to blue
          cell.GetBorder(Border.Location.Left).Color = Color.Blue;
        

          '--- Set the Left Border color to blue
          cell.GetBorder(Border.Location.Left).Color = Color.Blue