HotXLS Delphi Excel Read Write Library / Component Developers Guide loslab Inc.

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.

Properties

Example

The following example formats cells A1:C5 as bold.
Workbook.Sheets[1].Range['A1', 'C5'].Font.Bold := true;
Copyright©2007-2019 loslab.com