|
Foxit PDF SDK
|
Public Member Functions | |
| def | GetBackground_color () |
| Get the background fill color of the text area. More... | |
| def | GetBorder_color () |
| Get the color used of the border of the text area. More... | |
| def | GetData_index () |
| Get index that maps this text item back to its entry in the page's reading-order data. More... | |
| def | GetRect () |
| Get the bounding rectangle of the text content. More... | |
| def | GetText () |
| Get the text content used for accessibility visualization. More... | |
| def | GetText_color () |
| Get the color used of the text. More... | |
| def | Set (text, rect, data_index, text_color, background_color, border_color) |
| Set value. More... | |
| def | SetBackground_color (value) |
| Set the background fill color of the text area. More... | |
| def | SetBorder_color (value) |
| Set the color used of the border of the text area. More... | |
| def | SetData_index (value) |
| Set index that maps this text item back to its entry in the page's reading-order data. More... | |
| def | SetRect (value) |
| Set the bounding rectangle of the text content. More... | |
| def | SetText (value) |
| Set the text content used for accessibility visualization. More... | |
| def | SetText_color (value) |
| Set the color used of the text. More... | |
This class represents accessibility text info.
| fsdk.AccessibilityTextInfo.GetBackground_color | ( | ) |
Get the background fill color of the text area.
| fsdk.AccessibilityTextInfo.GetBorder_color | ( | ) |
Get the color used of the border of the text area.
| fsdk.AccessibilityTextInfo.GetData_index | ( | ) |
Get index that maps this text item back to its entry in the page's reading-order data.
| fsdk.AccessibilityTextInfo.GetRect | ( | ) |
Get the bounding rectangle of the text content.
| fsdk.AccessibilityTextInfo.GetText | ( | ) |
Get the text content used for accessibility visualization.
| fsdk.AccessibilityTextInfo.GetText_color | ( | ) |
Get the color used of the text.
| def fsdk.AccessibilityTextInfo.Set | ( | text, | |
| rect, | |||
| data_index, | |||
| text_color, | |||
| background_color, | |||
| border_color | |||
| ) |
Set value.
| [in] | text | The text content to display for accessibility visualization. |
| [in] | rect | The bounding rectangle of the text content. |
| [in] | data_index | Index that maps this text item back to its entry in the page's reading-order data. Pass a non-negative order-data index, or -1 if this text item is not associated with any order data. |
| [in] | text_color | The foreground color used to draw the text. |
| [in] | background_color | The background fill color of the text area. |
| [in] | border_color | The border color of the text area. |
| fsdk.AccessibilityTextInfo.SetBackground_color | ( | value | ) |
Set the background fill color of the text area.
| [in] | value | The background fill color of the text area. |
| fsdk.AccessibilityTextInfo.SetBorder_color | ( | value | ) |
Set the color used of the border of the text area.
| [in] | value | The color used of the border of the text area. |
| fsdk.AccessibilityTextInfo.SetData_index | ( | value | ) |
Set index that maps this text item back to its entry in the page's reading-order data.
| [in] | value | Index that maps this text item back to its entry in the page's reading-order data. A non-negative value is a valid order-data index; -1 means this text item is not associated with any order data (the default). |
| fsdk.AccessibilityTextInfo.SetRect | ( | value | ) |
Set the bounding rectangle of the text content.
| [in] | value | The bounding rectangle of the text content. |
| fsdk.AccessibilityTextInfo.SetText | ( | value | ) |
Set the text content used for accessibility visualization.
| [in] | value | The text content used for accessibility visualization. |
| fsdk.AccessibilityTextInfo.SetText_color | ( | value | ) |
Set the color used of the text.
| [in] | value | The color used of the text. |