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 LongParameters
| ModelID | Compiled model identifier returned by LoadArlingtonModel |
|---|
Return values
Returns the compiled rule count, or 0 for an invalid model identifier