GetObjectPathNumber

文書プロパティ、抽出

説明

pages[0]/MediaBox[2] のようなオブジェクトパスを解決し、数値のリーフを double で返します。リーフが見つかったか、数値かを示すフラグも伴います

構文

Delphi

Function GetObjectPathNumber(Const Path: WideString; Out Found: Boolean): Double;

ActiveX

Function PDFlib::GetObjectPathNumber(Path As String, ByRef Found As Long) As Double

DLL

double DLGetObjectPathNumber(int InstanceID, const wchar_t* Path, int Var Found);
double DLGetObjectPathNumberA(int InstanceID, const char* Path, int Var Found);

パラメータ

PathGetObjectByPath が受け付ける構文のオブジェクトパス
Found解決したリーフが数値のとき True

戻り値

数値。パスが存在しない、または数値でない場合は Found False で 0

備考

ページ辞書の検索は、ページ自身が持っていない MediaBox や Resources などの属性を /Parent ページノードから継承します

関連項目

GetObjectByPath, GetObjectPathStream, GetObjectPathStreamLength