This method creates a new HotDocs.Assembly object and adds it to the HotDocs assembly queue with a set of commonly used default values.
This method is simply a shortcut for adding an assembly to the queue.
int AddToQueue ( string templateFilePath, bool Visible, string docPath, string answerPath )
Parameters | Description |
templateFilePath | The file path and name for the template to be used for assembly. This must point to a HotDocs template or the method will fail. |
Visible | Sets the Visible property for the Assembly object. |
docPath | The location for the assembled document. This is used for the Assembly.DocumentPath property. |
answerPath | The file path and name of the answer file to use in the assembly. |
A handle to identify the Assembly object.