Foxit PDF SDK
FSAnnotArray类 参考

继承自 NSObject .

构造函数

(void) - add:
 向当前数组的末尾添加一个元素。
更多...
 
(FSAnnot *) - getAt:
 检索当前数组中由索引指定位置的元素副本。
更多...
 
(unsigned long) - getSize
 获取当前数组中元素的大小。
更多...
 
(id) - init
 构造函数。

 
(id) - initWithOther:
 拷贝构造函数,使用另一个数组对象。
更多...
 
(void) - insertAt:element:
 在由索引指定的位置之前插入一个元素。
更多...
 
(void) - removeAll
 从当前数组中移除所有元素。
更多...
 
(void) - removeAt:
 移除由索引指定位置的元素。
更多...
 

详细描述

此类表示注释对象数组。

函数文档

◆ add:()

- (void) add: (FSAnnot*)  element

向当前数组的末尾添加一个元素。

参数
[in]element要添加到当前数组的新元素。
返回
无。

◆ getAt:()

- (FSAnnot *) getAt: (unsigned long)  index

检索当前数组中由索引指定位置的元素副本。

参数
[in]index指定要检索的元素的索引。
返回
元素的副本。

◆ getSize()

- (unsigned long) getSize

获取当前数组中元素的大小。

返回
大小。

◆ initWithOther:()

- (id) initWithOther: (FSAnnotArray*)  other

拷贝构造函数,使用另一个数组对象。

参数
[in]other另一个数组对象。

◆ insertAt:element:()

- (void) insertAt: (unsigned long)  index
element: (FSAnnot*)  element 

在由索引指定的位置之前插入一个元素。

参数
[in]index指定插入新元素位置的索引。有效范围:从 0 到 (size-1)。 size 是当前数组中元素的大小。
[in]element要插入到当前数组的新元素。
返回
无。

◆ removeAll()

- (void) removeAll

从当前数组中移除所有元素。

返回
无。

◆ removeAt:()

- (void) removeAt: (unsigned long)  index

移除由索引指定位置的元素。

参数
[in]index指定要移除的元素的索引。有效范围:从 0 到 (size-1)。 size 是当前数组中元素的大小。
返回
无。