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

Bold property

True if the font is bold. Read/write Boolean.

Syntax

property Bold: boolean;

Example

This example sets the font to bold for the range A1:A5 on sheet one.

Workbook.Worksheets[1].Range['A1', 'A5'].Font.Bold := True;
Copyright©2007-2019 loslab.com