ConditionalFormat

ConditionalFormat

Overview

ConditionalFormat 是一个类在Aspose.Cells FOSS for Typescript中.

本类提供了5种方法,用于在TypeScript程序中使用ConditionalFormat对象. 有的方法包括: addArea, addRule, getRanges, getRules, toXml. 在安装Aspose.Cells FOSS for Typescript 包后,所有公众成员都可以访问任何TypeScript应用程序.

Description

ConditionalFormat 是Aspose.Cells FOSS库中的一个类,该类可用于 TypeScript 进行编程使用.

核心功能包括:添加一个条件格式规则适用的细胞范围;向集合添置一种条件形式规律.这些操作使开发人员能够直接将条件format功能的应用程序集成到 TypeScript 中.

Methods

SignatureDescription
addArea(range: string)添加条件格式规则适用于的单元组范围.
getRanges()CellRange[]返回范围.
addRule(rule: ConditionalFormatRule)将条件格式规则添加到集合中.
getRules()ConditionalFormatRule[]返回规则.
toXml()string将条件格式串为XML字符串.

See Also

 中文