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
ABorder object that represents the border of this section at the specified location.
Remarks
MS Word equivalent: Format menu > Borders and shading... > Borders tabExamples
C#
Border oBorder = oSection.GetBorder(Border.Location.Top);
vb.net
Dim oBorder As Border = oSection.GetBorder(Border.Location.Top)
