Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Description

Excerpt

Returns a Border object that represents a border around the range.

Signature
C#
C#
public Border BorderAround{ get; }
{signature}{signature:
}
Signature
vb.net
vb.net
Public ReadOnly Property BorderAround() As Border
{signature}
{example}{code:csharp|title=C#}
Example
Code Block
csharp
csharp
titleC#
          
//--- Get BorderAround
          Border b = rng.BorderAround;

          //--- Set BorderAround
          rng.BorderAround = b;
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}
          
'--- Get BorderAround
          Dim b As Border = rng.BorderAround

          '--- Set BorderAround
          rng.BorderAround = b
        
{code} {example}