Foxit PDF SDK
fsdk.SelectItemInfo类 参考

Public 成员函数

def GetOrder_index ()
 Get 选中项的顺序索引。 更多...
 
def GetPage_index ()
 Get 选中项的页面索引。有效取值范围为 0 到 (count - 1),其中 count 为函数 fsdk.PDFDoc.GetPageCount 返回的页面总数。 更多...
 
def GetRect ()
 Get pDF 页面上选中项的矩形坐标。 更多...
 
def Set (page_index, order_index, rect)
 设置值。 更多...
 
def SetOrder_index (value)
 Set 选中项的顺序索引。 更多...
 
def SetPage_index (value)
 Set 选中项的页面索引。有效取值范围为 0 到 (count - 1),其中 count 为函数 fsdk.PDFDoc.GetPageCount 返回的页面总数。 更多...
 
def SetRect (value)
 Set pDF 页面上选中项的矩形坐标。 更多...
 

详细描述

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

成员函数说明

◆ GetOrder_index()

fsdk.SelectItemInfo.GetOrder_index ( )

Get 选中项的顺序索引。

返回
选中项的顺序索引。

◆ GetPage_index()

fsdk.SelectItemInfo.GetPage_index ( )

Get 选中项的页面索引。有效取值范围为 0 到 (count - 1),其中 count 为函数 fsdk.PDFDoc.GetPageCount 返回的页面总数。

返回
选中项的页面索引。有效取值范围为 0 到 (count - 1),其中 count 为函数 fsdk.PDFDoc.GetPageCount 返回的页面总数。

◆ GetRect()

fsdk.SelectItemInfo.GetRect ( )

Get pDF 页面上选中项的矩形坐标。

返回
PDF 页面上选中项的矩形坐标。

◆ Set()

def fsdk.SelectItemInfo.Set (   page_index,
  order_index,
  rect 
)

设置值。

参数
[in]page_index页面索引。有效取值范围为 0 到 (count - 1),其中 count 为函数 fsdk.PDFDoc.GetPageCount 返回的页面总数。
[in]order_index顺序索引。
[in]rectPDF 页面上选中元素对象的矩形坐标。
返回
无。

◆ SetOrder_index()

fsdk.SelectItemInfo.SetOrder_index (   value)

Set 选中项的顺序索引。

参数
[in]value选中项的顺序索引。
返回
None.

◆ SetPage_index()

fsdk.SelectItemInfo.SetPage_index (   value)

Set 选中项的页面索引。有效取值范围为 0 到 (count - 1),其中 count 为函数 fsdk.PDFDoc.GetPageCount 返回的页面总数。

参数
[in]value选中项的页面索引。有效取值范围为 0 到 (count - 1),其中 count 为函数 fsdk.PDFDoc.GetPageCount 返回的页面总数。
返回
None.

◆ SetRect()

fsdk.SelectItemInfo.SetRect (   value)

Set pDF 页面上选中项的矩形坐标。

参数
[in]valuePDF 页面上选中项的矩形坐标。
返回
None.