TXlsFile.DeleteCustomTableStyle Method
Overloads
TXlsFile.DeleteCustomTableStyle(Integer)
Deletes an existing table style.
Syntax
Unit: FlexCel.XlsAdapter
procedure TXlsFile.DeleteCustomTableStyle(const index: Integer); overload; override;
Parameters
<-> |
Parameter |
Type |
Description |
const |
index |
Integer |
Position of the table style to delete (1 based). |
See also
TXlsFile.DeleteCustomTableStyle(string)
Deletes an existing table style given its name.
Syntax
Unit: FlexCel.XlsAdapter
procedure TXlsFile.DeleteCustomTableStyle(const name: string); overload; override;
Parameters
<-> |
Parameter |
Type |
Description |
const |
name |
string |
Name of the table style to delete. If the name doesn't exist, this method will throw an exception. Case insensitive: "NAME" is the same as "name".
You can use TExcelFile.HasCustomTableStyle to check if a table style exists before deleting it. |
See also