xpdfSpliceSetInfo
Set a document information dictionary entry in an output PDF file.
void xpdfSpliceSetInfo(XpdfSpliceOutputHandle out, const char *key, const char *val)
This function sets a document information dictionary entry in an
output PDF file. The entry specified by
key
is set to
val
.
Standard info dictionary keys include: Title, Author, Subject, Keywords, Creator, Producer, CreationDate, ModDate, and Trapped. (XpdfSplice will set the Producer key to indicate the version of XpdfSplice used.)
C:
XpdfSpliceOutputHandle out;
out = xpdfSpliceOpenOutput("c:/test/output.pdf");
xpdfSpliceSetInfo(out, "Author", "John Doe");