Docs HotXLS
Sommaire
Accueil
Aperçu
TGridToXLS
IXLSWorkbook
Accueil
Sommaire
Aperçu
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
Name propriété
Size propriété
ColorIndex propriété
Color propriété
Bold propriété
Italic propriété
CharSet / Family properties
Strikethrough propriété
OutLineFont propriété
Shadow propriété
Underline propriété
SubScript propriété
SuperScript propriété
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;