Contents

addDocumentMetadata(_:)

Associates custom metadata with the PDF document.

Declaration

func addDocumentMetadata(_ metadata: CFData?)

Parameters

  • metadata:

    A stream of XML data that is formatted according to the Extensible Metadata Platform, as described in section 10.2.2., “Metadata Streams”, of the PDF 1.7 specification.

See Also

Managing a PDF Graphics Context