GetDocumentFileName

Document management

Description

Returns the file name of the selected document if it was opened using LoadFromFile.

Syntax

Delphi

Function TPDFlib.GetDocumentFileName: WideString;

ActiveX

Function PDFlib::GetDocumentFileName() As String

DLL

const wchar_t* DLGetDocumentFileName(int InstanceID);
const char* DLGetDocumentFileNameA(int InstanceID);

Return values

Returns the file name of the loaded source document