Foxit PDF SDK
foxit.addon.accessibility.ContentTreeItemData类 参考

继承自 SystemIDisposable .

Public 成员函数

 ContentTreeItemData ()
 构造函数。
 
 ContentTreeItemData (string name, string id, RectFArray rect_array, int page_index, ContentType type)
 构造函数,带参数。 更多...
 
 ContentTreeItemData (ContentTreeItemData other)
 构造函数,使用另一个内容树项数据对象。 更多...
 
void Set (string name, string id, RectFArray rect_array, int page_index, ContentType type)
 设置值。 更多...
 

属性

string id [get, set]
 项 ID。
 
string name [get, set]
 项名称。
 
int page_index [get, set]
 页面索引。有效取值范围为 0 到 (count - 1),其中 count 为函数 pdf.PDFDoc.GetPageCount 返回的页面总数。
 
RectFArray? rect_array [get, set]
 项矩形数组。
 
ContentType type [get, set]
 内容类型。请参见 。
 

详细描述

此类表示内容树项数据。

构造及析构函数说明

◆ ContentTreeItemData() [1/2]

foxit.addon.accessibility.ContentTreeItemData.ContentTreeItemData ( string  name,
string  id,
RectFArray  rect_array,
int  page_index,
ContentType  type 
)
inline

构造函数,带参数。

参数
[in]name项名称。
[in]id项 ID。
[in]rect_array项矩形数组。
[in]page_index页面索引。有效取值范围为 0 到 (count - 1),其中 count 为函数 pdf.PDFDoc.GetPageCount 返回的页面总数。
[in]type内容类型。请参见从 foxit.addon.accessibility.ContentType.e_ContentTypeUnknown 开始的值。

◆ ContentTreeItemData() [2/2]

foxit.addon.accessibility.ContentTreeItemData.ContentTreeItemData ( ContentTreeItemData  other)
inline

构造函数,使用另一个内容树项数据对象。

参数
[in]other另一个内容树项数据对象。

成员函数说明

◆ Set()

void foxit.addon.accessibility.ContentTreeItemData.Set ( string  name,
string  id,
RectFArray  rect_array,
int  page_index,
ContentType  type 
)
inline

设置值。

参数
[in]name项名称。
[in]id项 ID。
[in]rect_array项矩形数组。
[in]page_index页面索引。有效取值范围为 0 到 (count - 1),其中 count 为函数 pdf.PDFDoc.GetPageCount 返回的页面总数。
[in]type内容类型。请参见从 foxit.addon.accessibility.ContentType.e_ContentTypeUnknown 开始的值。
返回
无。