PDFium Component Docs

ฟังก์ชัน GetApplicationPath

Unit: PDFium
Returns the executable directory used as the first PDFium DLL search root

Syntax

function GetApplicationPath: string;

Parameters

None

Return Value

string

Description

GetApplicationPath returns the directory of the running executable as used by the PDFium DLL search policy

Use it when diagnostics need to show where LoadPDFiumDll starts searching

Remarks

Example

AppPath := GetApplicationPath;

See Also

LoadPDFiumDll, FindDllInPath, FindDllInDllsTree