ReleaseArlingtonModel
Compliance, Resource management
Requires the Enterprise edition — in Delphi, C++Builder and Lazarus code create the library as TPDFlibEnterprise (unit PDFlibEnterprise); the Enterprise DLL and ActiveX builds provide it unchanged; other editions keep the method, which returns 0, an empty string or False and sets LastErrorCode to 900 (PDFLIB_ERROR_ENTERPRISE_REQUIRED)
Description
Releases a compiled Arlington model and invalidates its stable identifier
Syntax
Delphi
Function TPDFlib.ReleaseArlingtonModel(ModelID: Integer): Integer; Virtual;DLL
int DLReleaseArlingtonModel(int InstanceID, int ModelID);ActiveX
Function PDFlib::ReleaseArlingtonModel(ModelID As Long) As LongParameters
| ModelID | Compiled model identifier returned by LoadArlingtonModel |
|---|
Return values
| 1 | The model was released |
|---|---|
| 0 | The model identifier is invalid or was already released |