pdfSurfaceSetCustomMetadata
fn
void pdfSurfaceSetCustomMetadata(cairo.surface.Surface surface, string name, string value)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 NULL or an empty string, the name metadata will not be set.
For example:
<informalexample><programlisting>cairo_pdf_surface_set_custom_metadata (surface, "ISBN", "978-0123456789");
</programlisting></informalexample>Parameters
surface | a PDF #cairo_surface_t |
name | The name of the custom metadata item to set (utf8). |
value | The value of the metadata (utf8). |