HotXLS-dokumentaatio Sisältö Etusivu Yleiskatsaus TGridToXLS IXLSWorkbook Etusivu Sisältö Yleiskatsaus

rajapinta IXLSFont

Yksikkö: lxHandle
Contains the font attributes (font name, font size, color, and so on)

Kuvaus

Use the Font property to return the Font object

Ominaisuudet

Nameominaisuus Sizeominaisuus ColorIndexominaisuus Colorominaisuus Boldominaisuus Italicominaisuus CharSet / Family properties Strikethroughominaisuus OutLineFontominaisuus Shadowominaisuus Underlineominaisuus SubScriptominaisuus SuperScriptominaisuus

Metodit

SetThemeColormetodi — assign the font color to one of the 12 Office theme color slots with an optional tint (since v2.61.0)

Esimerkki

The following example formats cells A1:C5 as bold Workbook.Sheets[1].Range['A1', 'C5'].Font.Bold := true; Copyright © 2010-2026 losLab Software