 | PdfiumFPDF_GetPageDictionary Method |
Get specified page tree node that is the root of the document’s page tree.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static IntPtr FPDF_GetPageDictionary(
IntPtr document,
int index
)
Public Shared Function FPDF_GetPageDictionary (
document As IntPtr,
index As Integer
) As IntPtr
public:
static IntPtr FPDF_GetPageDictionary(
IntPtr document,
int index
)
static member FPDF_GetPageDictionary :
document : IntPtr *
index : int -> IntPtr
public static IntPtr FPDF_GetPageDictionary(
IntPtr document,
int index
)
Patagames.Pdf.Pdfium.FPDF_GetPageDictionary = function(document, index);
Parameters
- document IntPtr
- Handle to document. Returned by FPDF_LoadDocument(String, String) function.
- index Int32
Return Value
IntPtrHandle 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