AnalyseFile

Propriedades do documento

Descrição

Analisa um arquivo em disco. O arquivo inteiro não é carregado na memória, então arquivos enormes podem ser examinados. Use a função GetAnalysisInfo para recuperar os resultados individuais da análise. Chame DeleteAnalysis para remover os resultados da memória quando terminar

Sintaxe

Delphi

Function TPDFlib.AnalyseFile(Const InputFileName, Password: WideString): Integer;

ActiveX

Function PDFlib::AnalyseFile(InputFileName As String, Password As String) As Long

DLL

int DLAnalyseFile(int InstanceID, const wchar_t * InputFileName, const wchar_t * Password);

Parâmetros

InputFileNameThe path and name of the file to analyze.
PasswordThe password to use when opening the file. This can be either the owner or the user password. This parameter can be left blank if the file does not require a password to be opened.

Valores retornados

0The file could not be analyzed. Check the result of the LastErrorCode
Non-zeroThe analysis results ID. Pass this to the GetAnalysisInfo function.