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 Long

Parameters

ModelIDCompiled model identifier returned by LoadArlingtonModel

Return values

1The model was released
0The model identifier is invalid or was already released