GetArlingtonModelDefinitionCount

Compliance, Document inspection

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

Returns the number of object definition files compiled into a loaded Arlington model

Syntax

Delphi

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

DLL

int DLGetArlingtonModelDefinitionCount(int InstanceID, int ModelID);

ActiveX

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

Parameters

ModelIDCompiled model identifier returned by LoadArlingtonModel

Return values

Returns the compiled definition count, or 0 for an invalid model identifier