Function

CGPDFDocumentRelease

Decrements the retain count of a PDF document.

Declaration

void CGPDFDocumentRelease(CGPDFDocumentRef document);

Parameters

document

The PDF document to release.

Discussion

This function is equivalent to CFRelease, except that it does not cause an error if the document parameter is NULL.

See Also

Retaining and Releasing PDF Documents

CGPDFDocumentRetain

Increments the retain count of a Core Graphics PDF document.

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