HotXLS 文档

Name 属性

Returns or sets the name of the font. 读/写 WideString

语法

property Name: WideString;

示例

本示例 sets the font name for cells A1:C5 to Arial
Workbook.Sheets[1].Range['A1', 'C5'].Font.Name := 'Arial';
本示例 displays the font name of the cell A1
MessageDlg( Workbook.Sheets[1].Range['A1', 'A1'].Font.Name +
            ' is the font name of "A1" cell.',
            mtInformation, [mbOk], 0);