Method Cairo.PDFSurface()->set_custom_metadata()


Method set_custom_metadata

void set_custom_metadata(string name, string|zero value)

Description

Set custom document metadata. name may be any string except for the following names reserved by PDF: "Title", "Author", "Subject", "Keywords", "Creator", "Producer", "CreationDate", "ModDate", "Trapped".

If value is 0 or 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.

There are no comments to this page yet!