Click or drag to resize

PdfiumFPDF_GetInfo Method

Get the document’s information dictionary - “Document Information Dictionary”.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static IntPtr FPDF_GetInfo(
	IntPtr document
)

Parameters

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

Return Value

IntPtr
Handle to the PDF dictionary
Remarks

The optional Info entry in the trailer of a PDF file can hold a document information dictionary containing metadata for the document; Any entry whose value is not known should be omitted from the dictionary rather than included with an empty string as its value.

Some plug-in extensions may choose to permit searches on the contents of the document information dictionary. To facilitate browsing and editing, all keys in the dictionary are fully spelled out, not abbreviated. New keys should be chosen with care so that they make sense to users.

Note  Note
Although consumer applications can store custom metadata in the document information dictionary, it is inappropriate to store private content or structural information there. Such information should be stored in the document catalog instead.
See Also