HotXLS Docs

DisableFormat property

用于阻止某些类型的格式化。默认值为 []。读/写 TFormatOptions

语法

property DisableFormat: TFormatOptions;

备注

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

示例

This example sets DisableFormat to prevent change Font and NumberFormat

GridToXLS1.DisableFormat := [foFont, foNumberFormat];