Click or drag to resize

PdfiumFPDF_GetPageDictionary Method

Get specified page tree node that is the root of the document’s page tree.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static IntPtr FPDF_GetPageDictionary(
	IntPtr document,
	int index
)

Parameters

document  IntPtr
Handle to document. Returned by FPDF_LoadDocument(String, String) function.
index  Int32

Return Value

IntPtr
Handle to the PDF dictionary
Remarks
The pages of a document are accessed through a structure known as the page tree, which defines the ordering of pages in the document.The tree structure allows PDF consumer applications, using only limited memory, to quickly open a document containing thousands of pages.The tree contains nodes of two types— intermediate nodes, called page tree nodes, and leaf nodes, called page objects— whose form is described in the sections below.Applications should be prepared to handle any form of tree structure built of such nodes.The simplest structure would consist of a single page tree node that references all of the document’s page objects directly. However, to optimize application performance, the Acrobat Distiller program constructs trees of a particular form, known as balanced trees Further information on this form of tree can be found in Data Structures and Algorithms, by Aho, Hopcroft, and Ullman (see the Bibliography).
See Also