PageTableAreaOptions class

PageTableAreaOptions class

Provides options used for page table area extraction.

An instance of PageTableAreaOptions class is used as a parameter in Parser.get_tables and Parser.get_tables methods.

The PageTableAreaOptions type exposes the following members:

Constructors

Constructor Description
init Initializes a new PageAreaOptions instance.

Properties

Property Description
table_layout The table layout which defines the table on a page.
rectangle The rectangular area that contains page areas. (inherited from PageAreaOptions)
rectangle_tolerance The size of the border that is ignored when captured by the rectangular area, measured as a fraction of a text item height. (inherited from PageAreaOptions)

Example

from groupdocs.parser import Parser
from groupdocs.parser.options import PageTableAreaOptions
from groupdocs.parser.templates import TemplateTableLayout

parser = Parser("sample.docx")
options = PageTableAreaOptions(TemplateTableLayout([50.0, 95.0, 275.0], [325.0, 340.0, 365.0]))
tables = parser.get_tables(options)

See Also