Message-ID: <262409969.10511.1711726886530.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_10510_495136642.1711726886530" ------=_Part_10510_495136642.1711726886530 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 Borde= r.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

Co= lor

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.

St= yle

Sets or returns the border's line style.
------=_Part_10510_495136642.1711726886530--