This method opens a HotDocs component file and populates the ComponentCollection with the variables from it. If the component file opened by this method points to separate shared component file, the shared component file will be opened and used to populate the ComponentCollection.
void Open ( string componentFileName )
Parameters | Description |
componentFileName | The file system path of a HotDocs template, clause library, or component file. In the case of a template or clause library, this method will open the associated component file. |
You can close an open component file by disposing the ComponentCollection object.