ReleaseArlingtonModel

合规性、资源管理

需要 Enterprise 版。在 Delphi、C++Builder 和 Lazarus 代码中,请将库创建为 TPDFlibEnterprise(单元 PDFlibEnterprise);Enterprise 版的 DLL 和 ActiveX 构建原样提供该类。其他版本保留此方法,它返回 0、空字符串或 False,并将 LastErrorCode 设置为 900 (PDFLIB_ERROR_ENTERPRISE_REQUIRED)

描述

释放编译的 Arlington 模型并使其稳定标识符失效

语法

Delphi

Function TPDFlib.ReleaseArlingtonModel(ModelID: Integer): Integer; Virtual;

DLL

int DLReleaseArlingtonModel(int InstanceID, int ModelID);

ActiveX

Function PDFlib::ReleaseArlingtonModel(ModelID As Long) As Long

参数

ModelID由 LoadArlingtonModel 返回的已编译模型标识

返回值

1模型已释放
0模型标识符无效或已被释放