Hello friends. Is there a way to use the PDF class and generate with metadata ?
Hello friends. Is there a way to use the PDF class and generate with metadata ?
If you are using HaruPDF (or FWH 1909 FWPDF class), you can use these functions to create Metadata
HPDF_SetInfoAttr()
HPDF_GetInfoAttr()
HPDF_SetInfoDateAttr()
HPDF_SetPassword()
HPDF_SetPermission()
HPDF_SetEncryptionMode()
HPDF_SetCompressionMode()
Please see documentation at:
https://github.com/libharu/libharu/wiki/API%3A-Document
With FWPDF class we can set password and permissions in the Method New()
OK friend. Thank you very much, I will search. A big hug.
In addition to cPassWord, cOwnerPassword, nPermssion, FWH1910 adds some more new DATAs to FWHPDF class:
cAuthor, cCreator, cTitle, cSubject, lTimeStamp and if specified these values will be saved as METADATA in the PDF.