GetObjectPathNumber

Propiedades del documento, extracción de contenido

Descripción

Resuelve una ruta de objeto como pages[0]/MediaBox[2] y devuelve la hoja numérica como double, con un flag que indica si la hoja se encontró y es numérica

Sintaxis

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

Parámetros

PathRuta de objeto en la sintaxis que acepta GetObjectByPath
FoundTrue cuando la hoja resuelta es un número

Valores devueltos

El valor numérico; 0 con Found False cuando la ruta falta o no es numérica

Observaciones

Las búsquedas en diccionarios de página heredan atributos como MediaBox o Resources de los nodos /Parent de pages cuando la propia página no los lleva

Véase también

GetObjectByPath, GetObjectPathStream, GetObjectPathStreamLength