TemplateTable Constructor (TemplateTableLayout, String, NullableInt32) |
Namespace: GroupDocs.Parser.TemplatesAssembly: GroupDocs.Parser (in GroupDocs.Parser.dll) Version: 22.02.0
Syntaxpublic TemplateTable(
TemplateTableLayout layout,
string name,
Nullable<int> pageIndex
)
Public Sub New (
layout As TemplateTableLayout,
name As String,
pageIndex As Nullable(Of Integer)
)
public:
TemplateTable(
TemplateTableLayout^ layout,
String^ name,
Nullable<int> pageIndex
)
new :
layout : TemplateTableLayout *
name : string *
pageIndex : Nullable<int> -> TemplateTable
Parameters
- layout
- Type: GroupDocs.Parser.TemplatesTemplateTableLayout
The table layout. - 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.
ExamplesTemplate table is set by table layout if the table can't be detected automatically:
TemplateTableLayout layout = new TemplateTableLayout(
new double[] { 50, 95, 275 },
new double[] { 325, 340, 365 });
TemplateTable table = new TemplateTable(layout, "Details", null);
Template template = new Template(new TemplateItem[] { table });
See Also