IsFeatureAvailableA
Getting started, editions
Description
Returns True when this instance's edition includes a capability catalog feature
The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to IsFeatureAvailable and string arguments are interpreted using the current SetAnsiMode code page
Syntax
Delphi
Function DLIsFeatureAvailableA(InstanceID: Integer; FeatureID: PAnsiChar): Integer;
DLL
int DLIsFeatureAvailableA(int InstanceID, const char* FeatureID);
A convenience form of GetFeatureAvailability for callers that only need the edition-inclusion answer and would otherwise parse the JSON record. ActiveX, DLL and Dylib return 1 for True and 0 for False, because no shipped binding returns a Pascal Boolean
Feature IDs are case-sensitive; enumerate GetEditionCapabilities to discover them. An unknown or empty ID returns False and sets LastErrorCode to 908 (PDFLIB_ERROR_UNKNOWN_FEATURE_ID) rather than silently reporting the feature as missing
Inclusion is not runtime readiness. An included feature can still need a rendering backend, OCR language data, a professional barcode encoder, configured signing providers or caller-supplied credentials; read runtimeAvailability and localDependencyAvailability from GetFeatureAvailability, and use ProbeWorkflowRequest to check one concrete request without producing output
Example
If PDF.IsFeatureAvailable('business.invoice-rules') Then
Report:= PDF.ValidateInvoiceBusinessRulesBuiltIn(EmbeddedName)
Else
Log('E-invoice business rules need the Small Business edition');
GetFeatureAvailability · GetEditionCapabilities · Edition comparison