GetTemplateProcessor
Contents
[
Hide
]GetTemplateProcessor(MemoryStream, Encoding, FormValidationLogic)
Creates the TemplateProcessor instance that allows working with specified template.
public TemplateProcessor GetTemplateProcessor(MemoryStream templateContent, Encoding textEncoding,
FormValidationLogic logic = FormValidationLogic.Ignore)
| Parameter | Type | Description |
|---|---|---|
| templateContent | MemoryStream | Memory stream with template text content |
| textEncoding | Encoding | Template content encoding |
| logic | FormValidationLogic | Enum that controls behavior in case one of template validation rule is broken |
Return Value
The TemplateProcessor instance
See Also
- class TemplateProcessor
- enum FormValidationLogic
- class OmrEngine
- namespace Aspose.OMR.Api
- assembly Aspose.OMR
GetTemplateProcessor(string, FormValidationLogic)
Creates the TemplateProcessor instance that allows working with specified template.
public TemplateProcessor GetTemplateProcessor(string templatePath,
FormValidationLogic logic = FormValidationLogic.Ignore)
| Parameter | Type | Description |
|---|---|---|
| templatePath | String | The path to the OMR template file |
| logic | FormValidationLogic | Enum that controls behavior in case one of template validation rule is broken |
Return Value
The TemplateProcessor instance
See Also
- class TemplateProcessor
- enum FormValidationLogic
- class OmrEngine
- namespace Aspose.OMR.Api
- assembly Aspose.OMR