|
Foxit PDF SDK
|
Public 成员函数 | |
| def | GetOrder_index () |
| Get 项的顺序索引,从 0 开始。 更多... | |
| def | GetPage_index () |
| Get 选中项的页面索引。有效取值范围为 0 到 (count - 1),其中 count 为函数 fsdk.PDFDoc.GetPageCount 返回的页面总数。 更多... | |
| def | GetRect () |
| Get 页面内容项的矩形区域。 更多... | |
| def | GetText () |
| Get 项文本,用于在 UI 中显示。 更多... | |
| def | Set (type, order_index, page_index, text, rect) |
| 设置值。 更多... | |
| def | SetOrder_index (value) |
| Set 项的顺序索引,从 0 开始。 更多... | |
| def | SetPage_index (value) |
| Set 选中项的页面索引。有效取值范围为 0 到 (count - 1),其中 count 为函数 fsdk.PDFDoc.GetPageCount 返回的页面总数。 更多... | |
| def | SetRect (value) |
| Set 页面内容项的矩形区域。 更多... | |
| def | SetText (value) |
| Set 项文本,用于在 UI 中显示。 更多... | |
此类表示用于阅读顺序树项信息的数据。
| fsdk.TreeItemInfo.GetOrder_index | ( | ) |
Get 项的顺序索引,从 0 开始。
| fsdk.TreeItemInfo.GetPage_index | ( | ) |
Get 选中项的页面索引。有效取值范围为 0 到 (count - 1),其中 count 为函数 fsdk.PDFDoc.GetPageCount 返回的页面总数。
| fsdk.TreeItemInfo.GetRect | ( | ) |
Get 页面内容项的矩形区域。
| fsdk.TreeItemInfo.GetText | ( | ) |
Get 项文本,用于在 UI 中显示。
| def fsdk.TreeItemInfo.Set | ( | type, | |
| order_index, | |||
| page_index, | |||
| text, | |||
| rect | |||
| ) |
设置值。
| [in] | type | 内容类型。请参见从 fsdk.E_ContentTypeUnknown 开始的值。 |
| [in] | order_index | 顺序索引。 |
| [in] | page_index | 页面索引。有效取值范围为 0 到 (count - 1),其中 count 为函数 fsdk.PDFDoc.GetPageCount 返回的页面总数。 |
| [in] | text | 项文本。 |
| [in] | rect | 矩形。 |
| fsdk.TreeItemInfo.SetOrder_index | ( | value | ) |
Set 项的顺序索引,从 0 开始。
| [in] | value | 项的顺序索引,从 0 开始。 |
| fsdk.TreeItemInfo.SetPage_index | ( | value | ) |
Set 选中项的页面索引。有效取值范围为 0 到 (count - 1),其中 count 为函数 fsdk.PDFDoc.GetPageCount 返回的页面总数。
| [in] | value | 选中项的页面索引。有效取值范围为 0 到 (count - 1),其中 count 为函数 fsdk.PDFDoc.GetPageCount 返回的页面总数。 |
| fsdk.TreeItemInfo.SetRect | ( | value | ) |
Set 页面内容项的矩形区域。
| [in] | value | 页面内容项的矩形区域。 |
| fsdk.TreeItemInfo.SetText | ( | value | ) |
Set 项文本,用于在 UI 中显示。
| [in] | value | 项文本,用于在 UI 中显示。 |