Method Cairo.PDFSurface()->set_custom_metadata()
- Method
set_custom_metadata
voidset_custom_metadata(stringname,string|zerovalue)- Description
Set custom document metadata.
namemay be any string except for the following names reserved by PDF: "Title", "Author", "Subject", "Keywords", "Creator", "Producer", "CreationDate", "ModDate", "Trapped".If
valueis0or an empty string, the name metadata will not be set.- Example
pdf_surface->set_custom_metadata("ISBN", "978-0123456789");- Parameter
name The name of the custom metadata item to set.
- Parameter
value The value of the metadata.