ConditionalFormatCollection

ConditionalFormatCollection

Overview

ConditionalFormatCollection is a class in Aspose.Cells FOSS for Python.

Represents a collection of conditional formats for a worksheet.

This class provides 6 methods for working with ConditionalFormatCollection objects in Python programs. Available methods include: __init__, add, clear, get_by_index, get_by_range, remove. All public members are accessible to any Python application after installing the Aspose.Cells FOSS for Python package. Properties: count.

Properties

NameTypeAccessDescription
count``ReadGets the number of conditional formats in the collection.

Methods

SignatureDescription
__init__()Initializes a new instance of ConditionalFormatCollection class.
add()Adds a new conditional format to the collection.
get_by_index(index)Gets a conditional format by its index.
get_by_range(range_str)Gets a conditional format by its range.
remove(cf)Removes a conditional format from the collection.
clear()Clears all conditional formats from the collection.

See Also