GetAnalysisInfoA
Document properties
Description
The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to GetAnalysisInfo and string arguments are interpreted using the current SetAnsiMode code page
Returns individual items from the results of the analysis done by the AnalyseFile function.
Syntax
Delphi
Function DLGetAnalysisInfoA(InstanceID, AnalysisID, AnalysisItem: Integer): PAnsiChar;
DLL
const char * DLGetAnalysisInfoA(int InstanceID, int AnalysisID, int AnalysisItem);
Parameters
| AnalysisID | The ID of the set of analysis results to query, as returned by the AnalyseFile function |
|---|---|
| AnalysisItem | The specific analysis result to retrieve: 0 = File name (eg. ".\hello.pdf") 1 = File size (eg. "2048" for a file exactly 2K in size) 2 = Author 3 = Title 4 = Subject 5 = Keywords 6 = Creator 7 = Producer 8 = PDF version (eg. "1.4") 9 = Page count (eg. "120") 10 = Creation date 11 = Modification date 12 = Document ID 13 = The supplied password: "None" for no security "User" for the user password "Owner" for the owner password 14 = Document contains usage rights (eg. Reader Extensions) "No" if there is no usage rights dictionary "Yes" if there is a usage rights dictionary 15 = Name of signature in the usage rights dictionary 20..30 = Equivalent to SecurityInfo(0)..SecurityInfo(10) 31 = Number of form fields in the document 41..43 = Equivalent to SecurityInfo(11)..SecurityInfo(13) |