Opens an ordinary Word document or a template Word document.

Namespace: Docentric.Documents.Reporting.TemplateManagement
Assembly: Docentric.Documents.Reporting (in Docentric.Documents.Reporting.dll)
public static TemplateDocument Open( Stream wordDocumentStream )

Parameters

wordDocumentStream
Type: Stream

A Stream object representing a valid docx Word document.

Return value

Type: TemplateDocument
Returns a Template object that represents the created Docentric Toolkit template.