This class is used for converting normal Word documents into templates and vice versa, and manipulating metadata of a template.

System.Object
  Docentric.Documents.Reporting.TemplateManagement.TemplateDocument

Namespace: Docentric.Documents.Reporting.TemplateManagement
Assembly: Docentric.Documents.Reporting (in Docentric.Documents.Reporting.dll)
public class TemplateDocument : IDisposable

The TemplateDocument type exposes the following members.

Name Description
Public member IsTemplate Indicates whether this document is a template.
Public member Metadata Gets the TemplateMetadata object of this template.
Name Description
Public method Close Flushes any changes, saves and closes the template document.
Public method Dispose Flushes any changes, saves and closes the template document.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object)
Public method GetType Gets the Type of the current instance. (Inherited from Object)
Public method MakeTemplate Turns this document into a template by adding it metadata.
Public methodStatic member Open Opens an ordinary Word document or a template Word document.
Public method ToString Returns a String that represents the current Object. (Inherited from Object)