Show / Hide Table of Contents

Class DocumentEntityHelper

Inheritance
object
DocumentEntityHelper
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.Documents
Assembly: SoDataBase.dll
Syntax
public static class DocumentEntityHelper

Methods

GetSanitizedTemplateStreamAsync(string, bool, string, CancellationToken)

Retrieve a stream to a document template based on its name, and optionally its path.

Declaration
public static Task<Stream> GetSanitizedTemplateStreamAsync(string templateName, bool allowPerson, string uiCulture, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string templateName

Filename of template to retrieve

bool allowPerson

If true, look for template in user area before default template area

string uiCulture
CancellationToken cancellationToken
Returns
Type Description
Task<Stream>

Open stream to the template

© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top