Foxit PDF SDK
fsdk.AccessibilityRectInfo Class Reference

Public Member Functions

def GetData_index ()
 Get index that maps this rectangle back to its entry in the page's reading-order data. More...
 
def GetRect ()
 Get the rectangle. More...
 
def Set (rect, data_index)
 Set value. More...
 
def SetData_index (value)
 Set index that maps this rectangle back to its entry in the page's reading-order data. More...
 
def SetRect (value)
 Set the rectangle. More...
 

Detailed Description

This class represents accessibility rect info.

Member Function Documentation

◆ GetData_index()

fsdk.AccessibilityRectInfo.GetData_index ( )

Get index that maps this rectangle back to its entry in the page's reading-order data.

Returns
Index that maps this rectangle back to its entry in the page's reading-order data. A non-negative value is a valid order-data index; -1 means this rectangle is not associated with any order data (the default).

◆ GetRect()

fsdk.AccessibilityRectInfo.GetRect ( )

Get the rectangle.

Returns
The rectangle.

◆ Set()

def fsdk.AccessibilityRectInfo.Set (   rect,
  data_index 
)

Set value.

Parameters
[in]rectThe rectangle.
[in]data_indexIndex that maps this rectangle back to its entry in the page's reading-order data. Pass a non-negative order-data index, or -1 if this rectangle is not associated with any order data.
Returns
None.

◆ SetData_index()

fsdk.AccessibilityRectInfo.SetData_index (   value)

Set index that maps this rectangle back to its entry in the page's reading-order data.

Parameters
[in]valueIndex that maps this rectangle back to its entry in the page's reading-order data. A non-negative value is a valid order-data index; -1 means this rectangle is not associated with any order data (the default).
Returns
None.

◆ SetRect()

fsdk.AccessibilityRectInfo.SetRect (   value)

Set the rectangle.

Parameters
[in]valueThe rectangle.
Returns
None.