Template Class
Encapsulates information about a template to be used in an HDCS operation.
Inheritance Hierarchy

SystemObject
  HotDocs.Cloud.ClientTemplate

Namespace: HotDocs.Cloud.Client
Assembly: HotDocs.Cloud.Client (in HotDocs.Cloud.Client.dll) Version: 1.0.5652.20312
Syntax

public class Template

The Template type exposes the following members.

Constructors

  NameDescription
Public methodTemplate
Default constructor
Public methodTemplate(String, String, PackageSource, Boolean)
Constructor that takes a PackageSource
Public methodTemplate(String, String, String, Boolean)
Constructor that takes a file path
Public methodTemplate(String, String, Stream, Boolean, Boolean)
Constructor that takes a Stream
Top
Properties

  NameDescription
Public propertyForceUploadPackage
A value that indicates if the package will be uploaded without first checking to see if it is needed. Set this value to true sparingly; if it is true and the package was not needed after all, HotDocs Cloud Services will return an exception.
Public propertyPackageID
A unique identifier for the template package in which the desired template is found. Although you could use any string value that uniquely identifies the package, a GUID is recommended since every template package (including new versions of existing template packages) must have a unique ID. (If you create a new package but use the same ID as an existing package, HotDocs Cloud Services may continue using the old package if it is still in its cache.)
Public propertyPackageSource
The template package to be used with the request. If the package does not already exist in the HotDocs Cloud Services cache, it will be uploaded to the service.
Public propertyTemplateID
The file name of the template within the specified package. If this parameter is an empty string, HotDocs Cloud Services will use the package's main template.
Top
See Also

Reference