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