◆ Add()
| bool foxit.pdf.objects.PDFDictionaryArray.Add |
( |
PDFDictionary |
newElement | ) |
|
|
inline |
在尾部添加元素。可能会增长数组。
- 参数
-
- 返回
- true 表示成功,false 表示失败(如内存错误)。
◆ Find()
| int foxit.pdf.objects.PDFDictionaryArray.Find |
( |
PDFDictionary |
data, |
|
|
int |
iStart |
|
) |
| |
|
inline |
从指定位置到最后查找元素。
- 参数
-
| [in] | data | 输入的元素。 |
| [in] | iStart | 指定开始查找的起始元素的基于零的索引。 |
- 返回
- 找到的元素的索引。-1表示未找到。
◆ GetAt()
| PDFDictionary foxit.pdf.objects.PDFDictionaryArray.GetAt |
( |
int |
nIndex | ) |
|
|
inline |
◆ GetSize()
| int foxit.pdf.objects.PDFDictionaryArray.GetSize |
( |
| ) |
|
|
inline |
◆ GetUpperBound()
| int foxit.pdf.objects.PDFDictionaryArray.GetUpperBound |
( |
| ) |
|
|
inline |
获取数组中的上界,实际上是最大有效索引。
- 返回
- 上界。
◆ RemoveAll()
| void foxit.pdf.objects.PDFDictionaryArray.RemoveAll |
( |
| ) |
|
|
inline |
◆ RemoveAt()
| bool foxit.pdf.objects.PDFDictionaryArray.RemoveAt |
( |
int |
nIndex, |
|
|
int |
nCount |
|
) |
| |
|
inline |
在指定位置移除若干元素。
- 参数
-
| [in] | nIndex | 指定数组中的基于零的索引。 |
| [in] | nCount | 指定要移除的元素数量。 |
- 返回
- true 表示成功,false 表示失败(如参数或内存错误)。
◆ SetAt()
| bool foxit.pdf.objects.PDFDictionaryArray.SetAt |
( |
int |
nIndex, |
|
|
PDFDictionary |
newElement |
|
) |
| |
|
inline |
此方法覆盖由索引号指定的元素。
- 参数
-
| [in] | nIndex | 指定元素的基于零的索引。 |
| [in] | newElement | 元素。 |
- 返回
- true 表示成功,false 表示失败。
◆ SetAtGrow()
| bool foxit.pdf.objects.PDFDictionaryArray.SetAtGrow |
( |
int |
nIndex, |
|
|
PDFDictionary |
newElement |
|
) |
| |
|
inline |
在指定位置设置元素值。可能会增长数组。
- 参数
-
| [in] | nIndex | 指定数组中元素的基于零的索引。 |
| [in] | newElement | 输入的元素。 |
- 返回
- true 表示成功,false 表示失败。
◆ SetSize()
| bool foxit.pdf.objects.PDFDictionaryArray.SetSize |
( |
int |
nNewSize, |
|
|
int |
nGrowBy |
|
) |
| |
|
inline |
更改分配的大小和增长量。
- 参数
-
| [in] | nNewSize | 期望的新大小(以元素为单位)。 |
| [in] | nGrowBy | 期望的增长量(以元素为单位)。这可以为-1表示增长量不变。 |
- 返回
- true 表示成功,false 表示失败(如参数或内存错误)。