Foxit PDF SDK
foxit.addon.accessibility.TreeItemInfo Class Reference

Inherits SystemIDisposable.

Public Member Functions

 TreeItemInfo ()
 Constructor.
 
 TreeItemInfo (ContentType type, int order_index, int page_index, string text, RectF rect)
 Constructor. More...
 
 TreeItemInfo (TreeItemInfo other)
 Constructor, with another reading order tree item info object. More...
 
void Set (ContentType type, int order_index, int page_index, string text, RectF rect)
 Set value. More...
 

Properties

int order_index [get, set]
 The order index of item, beginning from 0.
 
int page_index [get, set]
 The page index of selected item. Valid range: from 0 to (count-1). count is returned by function pdf.PDFDoc.GetPageCount .
 
RectF? rect [get, set]
 The rect of page content item.
 
string text [get, set]
 The text of item, shown in UI.
 
ContentType type [get, set]
 The type of item content. Please refer to values starting from foxit.addon.accessibility.ContentType.e_ContentTypeUnknown and this should be one of these values.
 

Detailed Description

This class represents data used for reading order tree item info.

Constructor & Destructor Documentation

◆ TreeItemInfo() [1/2]

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

Constructor.

Parameters
[in]typeThe content type. Please refer to values starting from foxit.addon.accessibility.ContentType.e_ContentTypeUnknown and this should be one of these values.
[in]order_indexThe order index.
[in]page_indexThe page index. Valid range: from 0 to (count-1). count is returned by function pdf.PDFDoc.GetPageCount .
[in]textThe item text.
[in]rectThe rectangle.
Returns
None.

◆ TreeItemInfo() [2/2]

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

Constructor, with another reading order tree item info object.

Parameters
[in]otherAnother reading order tree item info object.

Member Function Documentation

◆ Set()

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

Set value.

Parameters
[in]typeThe content type. Please refer to values starting from foxit.addon.accessibility.ContentType.e_ContentTypeUnknown and this should be one of these values.
[in]order_indexThe order index.
[in]page_indexThe page index. Valid range: from 0 to (count-1). count is returned by function pdf.PDFDoc.GetPageCount .
[in]textThe item text.
[in]rectThe rectangle.
Returns
None.