PDFium Delphi Component Docs

FindDllInPath 関数

ユニット: PDFium
指定名の PDFium DLL を 1 つのフォルダー内で検索します

構文

function FindDllInPath(const DllName, SearchPath: string): string;

パラメーター

DllNamestring
SearchPathstring

戻り値

string

説明

FindDllInPath は SearchPath と DllName を連結し、そのファイルが存在すれば完全なパスを返します

上位レベルの PDFium DLL 検索ヘルパーが内部的に使う、単一ディレクトリ向けの存在確認です

備考

例

DllPath := FindDllInPath('pdfium.dll', GetApplicationPath);

関連項目

FindDllInDllsTree, LoadPDFiumDll, GetApplicationPath