Function

CGContextDrawPDFPage

Draws the content of a PDF page into the current graphics context.

Declaration

void CGContextDrawPDFPage(CGContextRef c, CGPDFPageRef page);

Parameters

c

The graphics context in which to draw the PDF page.

page

A Core Graphics PDF page.

Discussion

This function works in conjunction with the CGPDFPageRef type to draw individual PDF pages into a context.