GetObjectPathNumber
Propiedades del documento, Extracción de contenido
Descripción
Resuelve un object path 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 DoubleDLL
double DLGetObjectPathNumber(int InstanceID, const wchar_t* Path, int Var Found);
double DLGetObjectPathNumberA(int InstanceID, const char* Path, int Var Found);Parámetros
| Path | Object path con la sintaxis que acepta GetObjectByPath |
|---|---|
| Found | True cuando la hoja resuelta es un número |
Valores devueltos
| El valor numérico; 0 con Found False cuando la ruta no existe o no es numérica |
Observaciones
Las búsquedas en diccionarios de página heredan atributos como MediaBox o Resources de los nodos de páginas /Parent cuando la página misma no los lleva
Véase también
GetObjectByPath, GetObjectPathStream, GetObjectPathStreamLength