<κλάση header="doc-nav" aria-label="Πλοήγηση τεκμηρίωσης"> Τεκμηρίωση HotXLS <κλάση nav="doc-links"> Περιεχόμενα Αρχική Επισκόπηση TGridToXLS IXLSWorkbook <κλάση div="nav topic-quick-nav" aria-label="Topic shortcuts"> Αρχική Περιεχόμενα Επισκόπηση

διεπαφή IXLSFont

<κλάση div="indent">
Μονάδα: lxHandle
<κλάση div="txt"> Contains the font attributes (font name, font size, color, and so on)

Περιγραφή

<κλάση div="indent"> <κλάση div="txt"> Use the Font property to return the Font object

Ιδιότητες

<κλάση div="indent">
<κλάση div="txt"> Nameιδιότητα <κλάση div="txt"> Sizeιδιότητα <κλάση div="txt"> ColorIndexιδιότητα <κλάση div="txt"> Colorιδιότητα <κλάση div="txt"> Boldιδιότητα <κλάση div="txt"> Italicιδιότητα <κλάση div="txt"> CharSet / Family properties <κλάση div="txt"> Strikethroughιδιότητα <κλάση div="txt"> OutLineFontιδιότητα <κλάση div="txt"> Shadowιδιότητα <κλάση div="txt"> Underlineιδιότητα <κλάση div="txt"> SubScriptιδιότητα <κλάση div="txt"> SuperScriptιδιότητα

Μέθοδοι

<κλάση div="indent"> <κλάση div="txt"> SetThemeColorμέθοδος — assign the font color to one of the 12 Office theme color slots with an optional tint (since v2.61.0)

Παράδειγμα

<κλάση div="indent"> <κλάση div="txt"> The following example formats cells A1:C5 as bold <κλάση pre="code"> Workbook.Sheets[1].Range['A1', 'C5'].Font.Bold := true; <κλάση footer="reference-footer">Copyright © 2010-2026 losLab Software