Message-ID: <253655438.9503.1711692440498.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_9502_364807489.1711692440498" ------=_Part_9502_364807489.1711692440498 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html BorderPart

BorderPart

Description

=20

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

=20
C#
=20
 public class BorderPart
=20
=20
vb.net
=20
Public Class BorderPart
=20
=20

Remarks

To get a=20 BorderPart, use=20 Border= .Item.=20

Examples

=20
C#
=20

          ExcelApplication xla =3D new ExcelApplication();
          Workbook wb =3D xla.Create();
          Worksheet ws =3D wb.Worksheets[0];
          Area a =3D ws.CreateArea(4, 4, 15, 6);
          Border b =3D a.BorderAround;
          BorderPart bp =3D b[Border.Part.Left];
        
=20
=20
vb.net
=20

          Dim xla As New ExcelApplication()
          Dim wb As Workbook =3D xla.Create()
          Dim ws As Worksheet =3D wb.Worksheets(0)
          Dim a As Area =3D ws.CreateArea(4, 4, 15, 6)
          Dim b As Border =3D a.BorderAround
          Dim bp As BorderPart =3D b.Item(Border.Part.Left)
        
=20
=20

Properties

=20
=20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20

Name

Description

Col= or

Sets or returns the color of the border, as an E= xcelWriter Color object. = If multiple colors were assigned to border parts, Color will r= eturn the color of the top border.

Sty= le

Sets or returns the border's line style.
------=_Part_9502_364807489.1711692440498--