GetEditionNameA

Getting started, editions

Description

Returns the edition identity of this instance

The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to GetEditionName and string arguments are interpreted using the current SetAnsiMode code page

Syntax

Delphi

Function DLGetEditionNameA(InstanceID: Integer): PAnsiChar;

DLL

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

Example

If PDF.GetEditionName= 'single' Then
  Log('Document comparison needs the Small Business edition');

GetEditionCapabilities · IsFeatureAvailable · Edition comparison