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

Inherits SystemIDisposable.

Public Member Functions

 ContentTreeItemData ()
 Constructor.
 
 ContentTreeItemData (string name, string id, RectFArray rect_array, int page_index, ContentType type)
 Constructor, with parameters. More...
 
 ContentTreeItemData (ContentTreeItemData other)
 Constructor, with another content tree item data object. More...
 
void Set (string name, string id, RectFArray rect_array, int page_index, ContentType type)
 Set value. More...
 

Properties

string id [get, set]
 The item ID.
 
string name [get, set]
 The item name.
 
int page_index [get, set]
 The page index. Valid range: from 0 to (count-1). count is returned by function pdf.PDFDoc.GetPageCount .
 
RectFArray? rect_array [get, set]
 The item rectangle array.
 
ContentType type [get, set]
 The content type. 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 content tree item data.

Constructor & Destructor Documentation

◆ ContentTreeItemData() [1/2]

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

Constructor, with parameters.

Parameters
[in]nameThe item name.
[in]idThe item ID.
[in]rect_arrayThe item rectangle array.
[in]page_indexThe page index. Valid range: from 0 to (count-1). count is returned by function pdf.PDFDoc.GetPageCount .
[in]typeThe content type. Please refer to values starting from foxit.addon.accessibility.ContentType.e_ContentTypeUnknown and this should be one of these values.

◆ ContentTreeItemData() [2/2]

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

Constructor, with another content tree item data object.

Parameters
[in]otherAnother content tree item data object.

Member Function Documentation

◆ Set()

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

Set value.

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