ConditionalFormatCollection
Overview
ConditionalFormatCollection is a class in Aspose.Cells FOSS for Typescript.
ConditionalFormatCollection enables applying multiple conditional formatting rules across cell ranges, allowing visual data cues such as color scales.
This class provides 5 methods for working with ConditionalFormatCollection objects in Typescript programs.
Available methods include: add, clear, get, remove, toXml.
All public members are accessible to any Typescript application after installing the Aspose.Cells FOSS for Typescript package.
Properties: count.
Description
ConditionalFormatCollection is a class in the Aspose.Cells FOSS library for TypeScript that exposes 5 methods and 1 property for programmatic use.
Core capabilities include: number; removes the conditional format at the specified index; removes all conditional formats from the collection. These operations enable developers to integrate conditionalformatcollection functionality directly into TypeScript applications.
The class also provides the count property (gets the count).
Properties
| Name | Type | Access | Description |
|---|---|---|---|
count | number | Read | Gets the count. |
Methods
| Signature | Description |
|---|---|
add() → ConditionalFormat | Creates a new ConditionalFormat entry and adds it to the collection. |
get(index: number) → ConditionalFormat | undefined | Returns the conditional format at the given index, or undefined if not found. |
remove(index: number) | Removes the conditional format at the specified index. |
clear() | Removes all conditional formats from the collection. |
toXml() → string | Serializes the conditional format collection to an XML string. |