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

          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}