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}{signature:
}
Signature
vb.net
vb.net
Public Function GetBorder(ByVal location As Location) As Border
{signature}
{parameters}
{param:location}{param}
{returns}A {{Border}} object that represents the border of this section at the specified location.{returns}
{remarks}MS Word equivalent: Format menu > Borders and shading... > Borders tab

{remarks}
{example}{code:csharp|title=C#}
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} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}


          Dim oBorder As Border = oSection.GetBorder(Border.Location.Top)
        
{code} {example}