GetDocumentRevisionKindA

보안 및 서명, 직접 액세스 기능

Small Business 에디션이 필요합니다. Delphi, C++Builder 및 Lazarus 코드에서는 라이브러리를 TPDFlibSmallBusiness(PDFlibSmallBusiness 유닛) 또는 TPDFlibEnterprise로 생성합니다. Small Business 및 Enterprise DLL과 ActiveX 빌드는 이를 그대로 제공합니다. Single 에디션은 메서드를 유지하며, 이 메서드는 7을 반환하고 LastErrorCode를 901(PDFLIB_ERROR_SMALLBUSINESS_REQUIRED)으로 설정합니다

설명

끝의 A는 ANSI(char) DLL 진입점을 나타내며 ActiveX/COM 표면은 Unicode 형식만 노출합니다. 동작은 GetDocumentRevisionKind 함수와 동일하며 문자열 인수는 현재 SetAnsiMode 코드 페이지를 사용하여 해석됩니다

한 리비전에서 변경된 내용을 접촉한 객체 중 영향 범위가 가장 넓은 항목으로 분류함

구문

Delphi

Function DLGetDocumentRevisionKindA(InstanceID: Integer; InputFile: PAnsiChar; Password: PAnsiChar; RevisionIndex: Integer): Integer;

DLL

int DLGetDocumentRevisionKindA(int InstanceID, const char* InputFile, const char* Password, int RevisionIndex);

매개변수

InputFile검사할 PDF 파일의 경로
Password열기 암호이며 파일이 암호화되지 않았으면 빈 문자열
RevisionIndex종류를 요청한 0부터 시작하는 리비전 번호

반환 값

0부기 전용
1검증 자료(DSS 또는 VRI)
2문서 타임스탬프
3서명
4양식 필드
5주석
6문서 콘텐츠
7판단할 수 없음 — 개정 안의 일부를 읽을 수 없으므로 무해한 것으로 취급해서는 안 됩니다

참고 항목

GetDocumentRevisionCount, GetDocumentRevisionChanges, GetSignatureRevisionIndex