Table of Contents

TXlsFile.RenameStyle Method

Renames an existing style. Note that this might be a user-defined style, you can't rename built-in styles.

Syntax

Unit: FlexCel.XlsAdapter

procedure TXlsFile.RenameStyle(const oldName: string; const newName: string); override;

Parameters

<-> Parameter Type Description
const oldName string Name of the existing style in the workbook.
const newName string New name for the style. It must not exist.

See also