TemplateTable Constructor (TemplateTableParameters, String, NullableInt32) |
Namespace: GroupDocs.Parser.TemplatesAssembly: GroupDocs.Parser (in GroupDocs.Parser.dll) Version: 22.02.0
Syntaxpublic TemplateTable(
TemplateTableParameters parameters,
string name,
Nullable<int> pageIndex
)
Public Sub New (
parameters As TemplateTableParameters,
name As String,
pageIndex As Nullable(Of Integer)
)
public:
TemplateTable(
TemplateTableParameters^ parameters,
String^ name,
Nullable<int> pageIndex
)
new :
parameters : TemplateTableParameters *
name : string *
pageIndex : Nullable<int> -> TemplateTable
Parameters
- parameters
- Type: GroupDocs.Parser.TemplatesTemplateTableParameters
The parameters to detect the table in the automatic mode. - name
- Type: SystemString
The table name. - pageIndex
- Type: SystemNullableInt32
The index of the page where the template table is located;
null if the template table is located on any page.
ExamplesIf a template table is set by detector parameters, the table is detected automatically:
TemplateTableParameters parameters = new TemplateTableParameters(
new Rectangle(new Point(175, 350), new Size(400, 200)),
new double[] { 185, 370, 425, 485, 545 });
TemplateTable table = new TemplateTable(parameters, "Details", 0);
Template template = new Template(new TemplateItem[] { table });
See Also