 | PdfiumFPDF_SetMetaText(IntPtr, DocumentTags, String) Method |
Set the specified text to document meta-data under the specified tag.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static bool FPDF_SetMetaText(
IntPtr document,
DocumentTags tag,
string text
)
Public Shared Function FPDF_SetMetaText (
document As IntPtr,
tag As DocumentTags,
text As String
) As Boolean
public:
static bool FPDF_SetMetaText(
IntPtr document,
DocumentTags tag,
String^ text
)
static member FPDF_SetMetaText :
document : IntPtr *
tag : DocumentTags *
text : string -> bool
public static boolean FPDF_SetMetaText(
IntPtr document,
DocumentTags tag,
String text
)
Patagames.Pdf.Pdfium.FPDF_SetMetaText = function(document, tag, 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