Skip to end of metadata
Go to start of metadata

Description

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

C#
 public Border GetBorder(Location location)
vb.net
Public Function GetBorder(ByVal location As Location) As Border

Parameters

location

Returns

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

Remarks

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

Examples

C#

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

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