Load
Contents
[
Hide
]
Load(string)
Loads a template from a file.
public static Template Load(string filePath)
Parameter | Type | Description |
---|---|---|
filePath | String | The path to the file. |
Return Value
An instance of Template
class with loaded template.
Exceptions
exception | condition |
---|---|
GroupDocsParserException | The file does not represent the template in a valid format. |
See Also
- class Template
- namespace GroupDocs.Parser.Templates
- assembly GroupDocs.Parser
Load(Stream)
Loads a template from a stream.
public static Template Load(Stream stream)
Parameter | Type | Description |
---|---|---|
stream | Stream | The input stream. |
Return Value
An instance of Template
class with loaded template.
Exceptions
exception | condition |
---|---|
GroupDocsParserException | The stream does not represent the template in a valid format. |
See Also
- class Template
- namespace GroupDocs.Parser.Templates
- assembly GroupDocs.Parser