Contents

CGPDFDocumentRetain

Increments the retain count of a Core Graphics PDF document.

Declaration

extern CGPDFDocumentRef CGPDFDocumentRetain(CGPDFDocumentRef document);

Parameters

  • document:

    The PDF document to retain.

Return Value

The same document you passed in as the document parameter.

Discussion

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

See Also

Retaining and Releasing PDF Documents