Add
Adds a new library to this LibraryImports object. The new library will have the path supplied by the i_strFileName parameter.
Signature
Add(in i_strFileName:String) -> LibraryImport |
Parameters
Name | Type | Description |
---|---|---|
i_strFileName | String | Specifies the path of the library file. This path can be either absolute or relative to the mapping, depending on the state in which it was passed to the object. When the document is saved, the path will be made relative if the LibraryImport.SaveRelativePath flag is true; otherwise, it will be made absolute. |
Errors
Error code | Description |
---|---|
2400 | The object is no longer valid. |
2401 | Invalid address for the return parameter was specified. |
2402 | Adding library file failed. |