Skip to main content

TdxSpreadSheetFormatsRepository.Register(TdxSpreadSheetCustomFormatClass) Method

Adds a specified file format to the repository.

Declaration

procedure Register(AFormat: TdxSpreadSheetCustomFormatClass);

Parameters

Name Type
AFormat TdxSpreadSheetCustomFormatClass

Remarks

Use this method to add a custom spreadsheet file format to the format repository of the Spreadsheet control. The AFormat parameter of the Register procedure specifies a class-reference to the registered file format.

If you need to replace one of the standard file formats supported by the Spreadsheet Control with a custom file format, invoke the Unregister procedure in addition to Register.

See Also