CommentCollection

CommentCollection

Overview

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

本类提供6种方法,用于在TypeScript程序中使用CommentCollection对象. 有的方法包括: add, clear, get, getByCell, remove, toXml. 在安装Aspose.Cells FOSS for Typescript 包后,所有公众成员都可以访问任何TypeScript应用程序. 特性: count.

Description

CommentCollection 是Aspose.Cells FOSS库中一个类,该类可用于6个方法和1个属性.

核心能力包括: number;删除指定索引上的评论;从集合中移除所有评论.这些操作使开发人员能够直接将评论收集功能集成到TypeScript 应用程序中.

课程还提供了 count 财产 (得到了计数).

Properties

NameTypeAccessDescription
countnumberRead得到了数.

Methods

SignatureDescription
add(row: number, col: number, text: string, author: string)Comment在指定单元格位置创建一个新评论并将其添加到集合中.
get(index: number) → `Commentundefined`
getByCell(row: number, col: number) → `Commentundefined`
remove(index: number)删除指定索引上的评论.
clear()删除所有评论.
toXml()string将评论集合串为XML字符串.

See Also

 中文