Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
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#
Wiki Markup
{description}
{excerpt}Returns a [Border|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{excerpt}
{signature:C#}
 public Border GetBorder(Location location)
Signature
{signature}{signature:vb.net
vb.net
}
Public Function GetBorder(ByVal location As Location) As Border
Parameters

...

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

{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#}

          Border oBorder = oSection.GetBorder(Border.Location.Top);
        
{code}
{code:vb.net
|title=vb.net
}

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

{example}
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle