HotXLS 文件

DisableFormat 屬性

允許防止某些類型的格式設定。預設值為 []。可讀寫 TFormatOptions

語法

property DisableFormat: TFormatOptions;

備註

TFormatOption = (foBorders, foNumberFormat, foFont, foAlignment);
TFormatOptions = set of TFormatOption;

範例

This example sets DisableFormat to prevent change Font and NumberFormat

DataToXLS1.DisableFormat := [foFont, foNumberFormat];