GetEditionName
Getting started, editions
Description
Returns the edition identity of this instance
Syntax
Delphi
Function TPDFlib.GetEditionName: WideString;ActiveX
Function PDFlib::GetEditionName() As StringDLL
const wchar_t* DLGetEditionName(int InstanceID);
const char* DLGetEditionNameA(int InstanceID);
Returns single, smallbusiness or enterprise, matching the edition field of GetEditionCapabilities and the class the instance was created from
A Trial build reports enterprise, because it carries the Enterprise feature set under trial limits. The trial and trialDetail fields of GetEditionCapabilities disclose that state and the output marks it applies, so a caller never has to inspect a saved document to learn whether the loaded binary is a trial
The query does not touch the selected document, does not probe dependencies and clears LastErrorCode
Return values
Returns the edition identity of the library: single, smallbusiness or enterprise; a trial build reports enterprise
Example
If PDF.GetEditionName= 'single' Then
Log('Document comparison needs the Small Business edition');
GetEditionCapabilities · IsFeatureAvailable · Edition comparison