Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

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

|Border.Item(Border.Part)].

{remarks}
{example}{code:csharp|title=C#}

          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:vb.net
|title=vb.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)
        
Signature
C#C#
Wiki Markup
{description}
{excerpt}A [BorderPart|BorderPart] object represents a particular part of a border around a cell or area of cells.{excerpt}
{signature:C#}
 public class BorderPart
Signature
{signature}{signature:vb.net
vb.net
}
Public Class BorderPart
Remarks
To get a BorderPart, use
{signature}
{remarks}To get a {{BorderPart}}, use [Border.Item
.
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle
Properties

...

Name

...

Description

...

Color

...

{code}

{example}
{properties}
||Name||Description||
|[Color|BorderPart.Color]|{excerpt-include:BorderPart.Color

...

Style

|nopanel=true}|
|[Style|BorderPart.Style]|{excerpt-include

...

:BorderPart.Style

...

|nopanel=true}|
{scrollbar}