Table of Contents

ICustomTableStyle Interface

Represents a custom table style.

Syntax

Unit: FlexCel.Core

ICustomTableStyle = interface(IInterface);

Methods

Name Description
CreateSection Initializes a section to all empty values. You need to call this method before setting element values.
IF the section already existed, this method will clear all values on it.
DeleteSection Deletes a section and sets it to nulls.
Clone Returns a deep copy of this object.

Properties

Name Description
Name Name of the custom table style.
CanBeUsedAsPivot​Table If true, then this table style can be used in pivot tables.
CanBeUsedAsTable If true, then this table style can be used in normal tables.
SectionCount This returns the number of sections possible, and it is the same as the highest value of TTableStyleType.
Note that many of the sections can be null, meaning there is no format applied to them.
Item[const section] Returns the format for a given section of the table.
If the value is null, this means no format is applied to that section.