Click or drag to resize

PdfiumFPDF_SetMetaText(IntPtr, String, String) Method

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

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static bool FPDF_SetMetaText(
	IntPtr document,
	string 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  String
The tag to 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