load method
Leave feedback
On this page
Loads a template from a file.
An instance of Template class with loaded template.
def load(self, file_path):
...
| Parameter | Type | Description |
|---|---|---|
| file_path | System.String | The path to the file. |
| Exception | Description |
|---|---|
GroupDocsParserException |
The file does not represent the template in a valid format. |
Loads a template from a stream.
An instance of Template class with loaded template.
def load(self, stream):
...
| Parameter | Type | Description |
|---|---|---|
| stream | io.RawIOBase | The input stream. |
| Exception | Description |
|---|---|
GroupDocsParserException |
The stream does not represent the template in a valid format. |
- module
groupdocs.parser.templates - class
GroupDocsParserException - class
Template
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.