Class DocumentEntityHelper
Namespace: SuperOffice.CRM.Documents
Assembly: SoDataBase.dll
Syntax
public static class DocumentEntityHelper : Object
Methods
GetSanitizedTemplateStream(String, Boolean, String)
Retrieve a stream to a document template based on its name, and optionally its path.
Declaration
public static Stream GetSanitizedTemplateStream(string templateName, bool allowPerson, string uiCulture)
Parameters
Type | Name | Description |
---|---|---|
String | templateName | Filename of template to retrieve |
Boolean | allowPerson | If true, look for template in user area before default template area |
String | uiCulture |
Returns
Type | Description |
---|---|
Stream | Open stream to the template |