Docs HotXLS

IXLSFont-interface

Unité : lxHandle
Contains the font attributes (font name, font size, color, and so on)

Description

Use the Font property to return the Font object

Propriétés

Méthodes

SetThemeColor méthode — assigne la couleur de police à l'un des 12 emplacements de couleurs du thème Office, avec une teinte facultative (depuis la v2.61.0)

Exemple

L'exemple suivant formats cells A1:C5 as bold
Workbook.Sheets[1].Range['A1', 'C5'].Font.Bold := true;