Message-ID: <185224361.10441.1711724794207.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_10440_801404335.1711724794207" ------=_Part_10440_801404335.1711724794207 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html Area.ApplyStyle(Style)

Area.ApplyStyle(Style)

Description

=20

Applies a style to the area. When a style is applied - rather than set (= see Area.SetStyle(Style= ) ) - only the differences between the new style and style properties p= reviously assigned to the area (through the ExcelWriter API or in Microsoft= Excel) will take effect. For example, if the area has a background color a= nd the new style applied does not contain a background color, the area's co= lor will not be affected. However, if the new style includes background col= or, it will replace the existing background color of the area.

=20
C#
=20
 public void ApplyStyle(Style style)
=20
=20
vb.net
=20
Public Sub ApplyStyle(ByVal style As Style)
=20
=20

Parameters

=20
style
A=20 Style object representi= ng the style to apply to the cell.=20

Examples

=20
C#
=20
a.ApplyStyle(oStyle);
=20
=20
vb.net
=20
a.ApplyStyle(oStyle)
=20
------=_Part_10440_801404335.1711724794207--