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

A BorderPart object represents a particular part of a border around a cell or area of cells.

Signature
C#
C#
 public class BorderPart
{signature}{signature:
}
Signature
vb.net
vb.net
Public Class BorderPart
{signature}
{remarks}To get a {{BorderPart}}, use [
Remarks

To get a BorderPart, use Border.Item

|Border.Item(Border.Part)]. {remarks} {example}{code:csharp|title=C#}

.

Example
Code Block
csharp
csharp
titleC#


          ExcelApplication xla = new ExcelApplication();
          Workbook wb = xla.Create();
          Worksheet ws = wb.Worksheets[0];
          Area a = ws.CreateArea(4, 4, 15, 6);
          Border b = a.BorderAround;
          BorderPart bp = b[Border.Part.Left];
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}


          Dim xla As New ExcelApplication()
          Dim wb As Workbook = xla.Create()
          Dim ws As Worksheet = wb.Worksheets(0)
          Dim a As Area = ws.CreateArea(4, 4, 15, 6)
          Dim b As Border = a.BorderAround
          Dim bp As BorderPart = b.Item(Border.Part.Left)
        
{code} {example} {properties} ||Name||Description|| |[Color|BorderPart.Color]|{excerpt-include:BorderPart.Color|nopanel=true}| |[Style|BorderPart.Style]|{excerpt-include:BorderPart.Style|nopanel=true}| {scrollbar}
Properties

Name

Description

Color

Excerpt Include
BorderPart.Color
BorderPart.Color
nopaneltrue

Style

Excerpt Include
BorderPart.Style
BorderPart.Style
nopaneltrue
Scrollbar