Function

CGPDFOperatorTableSetCallback(_:_:_:)

Sets a callback function for a PDF operator.

Declaration

func CGPDFOperatorTableSetCallback(_ table: CGPDFOperatorTableRef, _ name: UnsafePointer<Int8>, _ callback: CGPDFOperatorCallback)

Parameters

table

A PDF operator table.

name

The name of the PDF operator you want to set a callback for.

callback

The callback to invoke for the PDF operator specified by the name parameter.

Discussion

You call the function CGPDFOperatorTableSetCallback(_:_:_:) for each PDF operator for which you want to provide a callback. See Appendix A in the PDF Reference, Second Edition, version 1.3, Adobe Systems Incorporated for a summary of PDF operators.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software