ParseByTemplate
Leave feedback
On this page
Parses the document by the user-generated template.
public DocumentData ParseByTemplate(Template template)
| Parameter | Type | Description |
|---|---|---|
| template | Template | The user-generated template. |
An instance of DocumentData class that contains the extracted data; null if parsing by template isn’t supported.
Learn more:
- Parse data from documents
- Working with templates
- Working with data extracted by template
- Parse data from PDF documents
- class DocumentData
- class Template
- class Parser
- namespace GroupDocs.Parser
- assembly GroupDocs.Parser
Parses the document by the user-generated template using customization options.
public DocumentData ParseByTemplate(Template template, ParseByTemplateOptions options)
| Parameter | Type | Description |
|---|---|---|
| template | Template | The user-generated template. |
| options | ParseByTemplateOptions | The customization options. |
An instance of DocumentData class that contains the extracted data; null if parsing by template isn’t supported.
Learn more:
- Parse data from documents
- Working with templates
- Working with data extracted by template
- Parse data from PDF documents
- class DocumentData
- class Template
- class ParseByTemplateOptions
- class Parser
- namespace GroupDocs.Parser
- assembly GroupDocs.Parser
Selects the most suitable template from the provided collection and then parses the document against the selected template.
public DocumentData ParseByTemplate(TemplateCollection templateCollection,
ParseByTemplateOptions options)
| Parameter | Type | Description |
|---|---|---|
| templateCollection | TemplateCollection | The template collection. |
| options | ParseByTemplateOptions | The customization options. |
An instance of DocumentData class that contains the extracted data; null if parsing by template isn’t supported.
- class DocumentData
- class TemplateCollection
- class ParseByTemplateOptions
- class Parser
- namespace GroupDocs.Parser
- assembly GroupDocs.Parser
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.