This method creates a new library file and opens it. If you pass in a libFileName that already exists, then that file is opened using the Open method. Once you are finished using the library, close it using the Close method.
HotDocs automatically maintains the state of the library file currently opened in the library interface. HotDocs always has a library open, even if the interface is not visible. This will cause problems for integrators that attempt to make changes to the library file that HotDocs has open using the Library object. (Changes that are made through the _Library and _LibraryEntity interfaces may not be saved correctly.) For this reason, it is recommended that the integration change the currently open library file to some known file using the _Application.OpenLibrary() method before attempting to edit a library using these interfaces.
void New ( string libFileName )
Parameters | Description |
libFileName | The library file to create. |