Debenu Quick PDF logo

GetAnalysisInfo

Document properties

Description

Returns individual items from the results of the analysis done by the AnalyseFile function.

Syntax

Delphi

function TDebenuPDFLibrary1811.GetAnalysisInfo(AnalysisID, 
  AnalysisItem: Integer): WideString;

ActiveX

Function DebenuPDFLibrary1811.PDFLibrary::GetAnalysisInfo(AnalysisID As Long,
  AnalysisItem As Long) As String

DLL

wchar_t * DPLGetAnalysisInfo(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. "c:\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)

Copyright © 2020 Debenu. All rights reserved. AboutContactBlogNewsletterSupport