GetObjectPathNumber

Proprietà del documento, estrazione del contenuto

Descrizione

Risolve un object path come pages[0]/MediaBox[2] e restituisce la foglia numerica come double, con un flag che dice se la foglia è stata trovata ed è numerica

Sintassi

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);

Parametri

PathPercorso dell'oggetto nella sintassi accettata da GetObjectByPath
FoundTrue quando la foglia risolta è un numero

Valori restituiti

Il valore numerico; 0 con Found False quando il percorso manca o non è numerico

Note

Le ricerche nei dizionari di pagina ereditano attributi come MediaBox o Resources dai nodi pages /Parent quando la pagina stessa non li porta

Vedere anche

GetObjectByPath, GetObjectPathStream, GetObjectPathStreamLength