GetArlingtonModelRuleCount

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 total number of key and array-element rules compiled into a loaded Arlington model

Syntax

Delphi

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

DLL

int DLGetArlingtonModelRuleCount(int InstanceID, int ModelID);

ActiveX

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

Parameters

ModelIDCompiled model identifier returned by LoadArlingtonModel

Return values

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