HotXLS Delphi Excel Read Write Library / Component Developers Guide loslab Inc.

DisableFormat property

Allows to prevent some kind of formating. The default value is []. Read/write TFormatOptions.

Syntax

property DisableFormat: TFormatOptions;

Remarks

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

Example

This example sets DisableFormat to prevent change Font and NumberFormat.

DataToXLS1.DisableFormat := [foFont, foNumberFormat];
Copyright©2007-2019 loslab.com