Load
Leave feedback
On this page
Loads a template from a file.
public static Template Load(string filePath)
| Parameter | Type | Description |
|---|---|---|
| filePath | String | The path to the file. |
An instance of Template class with loaded template.
| exception | condition |
|---|---|
| GroupDocsParserException | The file does not represent the template in a valid format. |
- class Template
- namespace GroupDocs.Parser.Templates
- assembly GroupDocs.Parser
Loads a template from a stream.
public static Template Load(Stream stream)
| Parameter | Type | Description |
|---|---|---|
| stream | Stream | The input stream. |
An instance of Template class with loaded template.
| exception | condition |
|---|---|
| GroupDocsParserException | The stream does not represent the template in a valid format. |
- class Template
- namespace GroupDocs.Parser.Templates
- 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.