一部の書式設定を禁止します。デフォルト値は []。読み取り/書き込み TFormatOptions
構文
property DisableFormat: TFormatOptions;
備考
TFormatOption = (foBorders, foNumberFormat, foFont, foAlignment);
TFormatOptions = set of TFormatOption;
使用例
この使用例は、Font と NumberFormat の変更を防ぐために DisableFormat を設定します
DataToXLS1.DisableFormat := [foFont, foNumberFormat];