AssemblyCollection.AddNew Method
This method adds a new Assembly object to the AssemblyCollection.
Syntax
public HotDocs.Server.Assembly AddNew ( )
Return Value
The Assembly object that was added to the collection.
Example
//This example adds an assembly to the AssemblyCollection. public class ExampleCode { static void Main() { HotDocs.Server.Session HDSSession = new HotDocs.Server.Session(); HotDocs.Server.Assembly HDSAssembly = HDSSession.Assemblies.AddNew(); HDSAssembly.TemplatePath = "c:\\temp\\template.docx"; } }