HotXLS Docs
Contents
Home
Overview
TGridToXLS
IXLSWorkbook
Home
Contents
Overview
IXLSFont Interface
Unit:
lxHandle
Contains the font attributes (font name, font size, color, e so on)
Description
Usa the Font proprietà to return the Font object
Properties
Name proprietà
Size proprietà
ColorIndex proprietà
Color proprietà
Bold proprietà
Italic proprietà
CharSet / Family properties
Strikethrough proprietà
OutLineFont proprietà
Shadow proprietà
Underline proprietà
SubScript proprietà
SuperScript proprietà
Methods
SetThemeColor method
— assign the font color to one of the 12 Office theme color slots with an optional tint (since v2.61.0)
Example
The following example formats cells A1:C5 as bold
Workbook.Sheets[
1
].Range[
'A1'
,
'C5'
].Font.Bold := true;