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

继承自 SystemIDisposable .

Public 成员函数

 TreeItemInfo ()
 构造函数。 更多...
 
 TreeItemInfo (ContentType type, int order_index, int page_index, string text, RectF rect)
 构造函数。 更多...
 
 TreeItemInfo (TreeItemInfo other)
 构造函数,使用另一个阅读顺序树项信息对象。 更多...
 
void Set (ContentType type, int order_index, int page_index, string text, RectF rect)
 设置值。 更多...
 

属性

int order_index [get, set]
 项的顺序索引,从 0 开始。
 
int page_index [get, set]
 选中项的页面索引。有效取值范围为 0 到 (count - 1),其中 count 为函数 pdf.PDFDoc.GetPageCount 返回的页面总数。
 
RectF? rect [get, set]
 页面内容项的矩形区域。
 
string text [get, set]
 项文本,用于在 UI 中显示。
 
ContentType type [get, set]
 项内容类型。请参见从 foxit.addon.accessibility.ContentType.e_ContentTypeUnknown 开始的值。
 

详细描述

此类表示用于阅读顺序树项信息的数据。

构造及析构函数说明

◆ TreeItemInfo() [1/3]

foxit.addon.accessibility.TreeItemInfo.TreeItemInfo ( )
inline

构造函数。

返回
无。

◆ TreeItemInfo() [2/3]

foxit.addon.accessibility.TreeItemInfo.TreeItemInfo ( ContentType  type,
int  order_index,
int  page_index,
string  text,
RectF  rect 
)
inline

构造函数。

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

◆ TreeItemInfo() [3/3]

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

构造函数,使用另一个阅读顺序树项信息对象。

参数
[in]other另一个阅读顺序树项信息对象。

成员函数说明

◆ Set()

void foxit.addon.accessibility.TreeItemInfo.Set ( ContentType  type,
int  order_index,
int  page_index,
string  text,
RectF  rect 
)
inline

设置值。

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