This method opens a HotDocs library (.HDL) file. If another library is already open, OpenLibrary closes the other library and opens the library specified in the libPath parameter.
void OpenLibrary ( string libPath, bool addToMRU )
| Parameters | Description |
| libPath | The file system path to the library. |
| addToMRU | [optional] If this parameter has a value of True, the opened library is added to the list or most recently used libraries. (The default value is True.) |
The following Visual C# example opens a HotDocs Library file without adding it to the most recently used library list:
public class ExampleCode
{
static void Main()
{
HotDocs.Application app = new HotDocs.Application();
app.Visible = true;
app.OpenLibrary(@"C:\Documents\HotDocs\Libraries\Probate.hdl", false);
}
}