__init__ constructor
Leave feedback
On this page
Initializes a new instance of the TemplateTableParameters class.
def __init__(self, rectangle, vertical_separators):
...
| Parameter | Type | Description |
|---|---|---|
| rectangle | Rectangle |
The rectangular area that contains the table. |
| vertical_separators | Iterable[float] |
The table column separators. |
from groupdocs.parser.data import Rectangle, Point, Size
from groupdocs.parser.templates import TemplateTableParameters
table_area = Rectangle(Point(175.0, 350.0), Size(400.0, 200.0))
columns = [185.0, 370.0, 425.0, 485.0, 545.0]
params = TemplateTableParameters(table_area, columns)
Initializes a new instance of the TemplateTableParameters class.
def __init__(self, rectangle, vertical_separators, has_merged_cells, min_row_count, min_column_count, min_vertical_space):
...
| Parameter | Type | Description |
|---|---|---|
| rectangle | Rectangle |
The rectangular area that contains the table. |
| vertical_separators | Iterable[float] |
The table columns separators. |
| has_merged_cells | Optional[bool] |
Indicates whether the table has merged cells. |
| min_row_count | Optional[int] |
The minimum number of the table rows. |
| min_column_count | Optional[int] |
The minimum number of the table columns. |
| min_vertical_space | Optional[int] |
The minimum space between the table columns. |
from groupdocs.parser.data import Rectangle, Point, Size
from groupdocs.parser.templates import TemplateTableParameters
table_area = Rectangle(Point(175.0, 350.0), Size(400.0, 200.0))
columns = [185.0, 370.0, 425.0, 485.0, 545.0]
params = TemplateTableParameters(table_area, columns)
- class
TemplateTableParameters
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.