HotXLS Delphi Excel Read Write Library / Component Developers Guide
Reference
>
TDataToXLS
>
HeaderSource
HeaderSource property
Specifies from where to get the
text
of column header. The default value is hsDisplayLabel. Read/write THeaderSource.
Syntax
property
HeaderSource: THeaderSource;
Description
HeaderSource can be one of these THeaderSource constants.
hsDisplayLabel
Header from TField.DisplayLabel
hsFieldName
Header from TField.Name
hsEmpty
Empty header
Example
This example sets HeaderSource property to hsFieldName.
DataToXLS1.HeaderSource := hsFieldName;
Copyright©2007-2019
loslab.com