Table of Contents

XlsFile.DeleteCustomTableStyle Method

Overloads

XlsFile.DeleteCustomTableStyle(Int32)

Deletes an existing table style.

Syntax

Namespace: FlexCel.XlsAdapter

public override void DeleteCustomTableStyle(Int32 index)

Parameters

<-> Parameter Type Description
index Int32 Position of the table style to delete (1 based).

See also

XlsFile.DeleteCustomTableStyle(String)

Deletes an existing table style given its name.

Syntax

Namespace: FlexCel.XlsAdapter

public override void DeleteCustomTableStyle(String name)

Parameters

<-> Parameter Type Description
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 ExcelFile.HasCustomTableStyle to check if a table style exists before deleting it.

See also