GetFeatureAvailability
Getting started, editions
Description
Returns one feature entry from the edition catalog
Syntax
Delphi
Function TPDFlib.GetFeatureAvailability(Const FeatureID: WideString): WideString;ActiveX
Function PDFlib::GetFeatureAvailability(FeatureID As String) As StringDLL
const wchar_t* DLGetFeatureAvailability(int InstanceID, const wchar_t* FeatureID);
const char* DLGetFeatureAvailabilityA(int InstanceID, const char* FeatureID);Parameters
| FeatureID | Case-sensitive capability identifier such as business.compare or signatures.long-term; an empty value returns the full catalog, and an unknown identifier returns known:false and included:false without executing the feature |
|---|
Return values
Returns the JSON feature record for FeatureID, or the complete edition catalog when FeatureID is empty. The query does not change the document and resets LastErrorCode to 0.
Feature IDs are case-sensitive, including business.compare, business.invoice-rules, business.bates, business.data-merge, compliance.pdfa and signatures.long-term; enumerate the full catalog to discover all supported IDs
An unknown ID returns known: false and included: false, without executing the feature or changing the document; an empty ID returns the full catalog
ActiveX exposes the same method through IPDFlibrary6; inclusion is separate from runtime readiness; this query performs the same bounded local dependency probes as the full catalog
Example
Info:= PDF.GetFeatureAvailability('business.compare');