GetEditionNameA
시작, 에디션
설명
이 인스턴스의 에디션 정체성을 반환합니다
끝의 A는 ANSI(char) DLL 진입점을 나타내며 ActiveX/COM 표면은 Unicode 형식만 노출합니다. 동작은 GetEditionName와 동일하고 문자열 인수는 현재 SetAnsiMode 코드 페이지로 해석합니다
구문
Delphi
Function DLGetEditionNameA(InstanceID: Integer): PAnsiChar;
DLL
const char* DLGetEditionNameA(int InstanceID);
single, smallbusiness, enterprise 중 하나를 반환하며 edition 필드는 GetEditionCapabilities와, 인스턴스를 생성한 클래스와는 그 자체로 일치합니다
Trial 빌드는 enterprise를 보고합니다. 트라이얼 제한 아래에서 Enterprise 기능 세트를 제공하기 때문입니다. 트라이얼 여부는 trial과 trialDetail 필드(GetEditionCapabilities)에 그 상태와 적용되는 출력 마크까지 그대로 드러나므로, 로드된 바이너리가 트라이얼인지 알아보려고 저장된 문서를 열어볼 필요는 없습니다
이 조회는 선택된 문서를 건드리지 않고, 의존성을 탐색하지 않으며, LastErrorCode를 지웁니다
예제
If PDF.GetEditionName= 'single' Then
Log('Document comparison needs the Small Business edition');