PDFium Delphi Component Docs

GetApplicationPath 函式

單元: PDFium
傳回作為 PDFium DLL 第一個搜尋根目錄的執行檔資料夾

語法

function GetApplicationPath: string;

參數

None

傳回值

string

說明

GetApplicationPath 會傳回執行中執行檔所在的目錄,也就是 PDFium DLL 搜尋原則所使用的目錄

當診斷資訊需要顯示 LoadPDFiumDll 從何處開始搜尋時,即可使用它

備註

範例

AppPath := GetApplicationPath;

另請參閱

LoadPDFiumDll, FindDllInPath, FindDllInDllsTree