Message-ID: <1306173061.8785.1711660873148.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_8784_471816255.1711660873148" ------=_Part_8784_471816255.1711660873148 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
The Font object represents a font styl=
e that you can use when creating a reusable =
Style object, or when setting the style of a cell or set of cells. To s=
et or return a Font
object, use Style.Font.
public sealed class Font=20
Public NotInheritable Class Font=20
ExcelApplication xla =3D new ExcelApplication(); Workbook wb =3D xla.Create(); SoftArtisans.OfficeWriter.ExcelWriter.Style styl =3D wb.CreateSty= le(); SoftArtisans.OfficeWriter.ExcelWriter.Font fnt =3D styl.Font;=20
Dim xla As New ExcelApplication() Dim wb As Workbook =3D xla.Create() Dim styl As SoftArtisans.OfficeWriter.ExcelWriter.Style =3D wb.Cr= eateStyle() Dim fnt As SoftArtisans.OfficeWriter.ExcelWriter.Font =3D styl.Fo= nt=20
Name | =20
Description | =20
---|---|
Bold= p> | =20
Sets or returns whether text will be displayed i= n bold face. | =20
=20 | Sets or returns the color of the font. | =20
=20 | Sets or returns whether text will be italicized.= | =20
Name= p> | =20
Sets or returns the name of the font (e.g., &quo= t;Arial"). The font must be available on the client's system for Excel= to use it; if it is not available, Excel will use a default font. | =20
=20 | Sets or returns the vertical position of the fon= t in relation to other text. | =20
Size= p> | =20
Sets or returns the font size, in points. | = =20
=20 | Sets or returns whether strikethrough formatting= will be applied to the font. | =20
=20 | Sets or returns the underline style for this fon= t. | =20
Name | =20
Description | =20
---|---|
=20 | An = UnderlineStyle value specifies an underline style for a font. | =20
=20 | A vertical value specifies the vertical position= of a font in relation to other text. | =20