![]() | PdfiumFPDFHOLDER_ |
public static IntPtr FPDFHOLDER_GetRefsToObjects( IntPtr doc, out int count, bool parsedOnly = false, IntPtr root = 0 )
Public Shared Function FPDFHOLDER_GetRefsToObjects ( doc As IntPtr, <OutAttribute> ByRef count As Integer, Optional parsedOnly As Boolean = false, Optional root As IntPtr = 0 ) As IntPtr
public: static IntPtr FPDFHOLDER_GetRefsToObjects( IntPtr doc, [OutAttribute] int% count, bool parsedOnly = false, IntPtr root = 0 )
static member FPDFHOLDER_GetRefsToObjects : doc : IntPtr * count : int byref * ?parsedOnly : bool * ?root : IntPtr (* Defaults: let _parsedOnly = defaultArg parsedOnly false let _root = defaultArg root 0 *) -> IntPtr
public static IntPtr FPDFHOLDER_GetRefsToObjects( IntPtr doc, /** @attribute OutAttribute */ /** @ref */int count, boolean parsedOnly = false, IntPtr root = 0 )
Patagames.Pdf.Pdfium.FPDFHOLDER_GetRefsToObjects = function(doc, count, parsedOnly, root);
This method recursively scans the document catalog, in order to build the array.
This method cannot accept newly created documents. If you pass such document FPDFHOLDER_GetRefsToObjects would fail and the FPDF_GetLastError function would return REQUIRED_DATA_IS_ABSENT (536871427). To get the handle to the document, that can be passed to the FromPdfDocument method, you must save the document to a temporary file or an array of bytes, and then open it with the FPDF_LoadDocument(String, String)".