Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Description

Excerpt

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

Signature
C#
C#
 public Border GetBorder(Location location)
Signature
vb.net
vb.net
Public Function GetBorder(ByVal location As Location) As Border
Parameters
Param
location
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

Example
Code Block
csharp
csharp
titleC#

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

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