Click or drag to resize

PdfiumFPDF_SetMetaText(IntPtr, DocumentTags, String) Method

Set the specified text to document meta-data under the specified tag.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static bool FPDF_SetMetaText(
	IntPtr document,
	DocumentTags tag,
	string text
)

Parameters

document  IntPtr
Handle to the document. Returned by FPDF_LoadDocument(String, String), FPDF_LoadMemDocument(Byte, Int32, String) or FPDF_LoadCustomDocument(FPDF_FILEACCESS, String) functions.
tag  DocumentTags
The tag to which text should be set.
text  String
The text to be set.

Return Value

Boolean
Returns TRUE if successful, FALSE otherwise. Returns FALSE if Info dictionary does not exists.
Remarks
Currently, The tag can be one of "Title", "Author", "Subject", "Keywords", "Creator", "Producer", "CreationDate", or "ModDate". For detailed explanation of these tags and their respective values, please refer to PDF Reference 1.6, section 10.2.1, "Document Information Dictionary".
See Also