Skip to content
ComPDF
DemoSampleAPI ReferenceFAQ
New Release

Open-Source PDF SDK & AI Document Processing

Get the full self-hosted SDK and AI document processing on GitHub. One-click deploy to quickly build your document workflows.

Render

The CPDFView class calls drawPage:toContext: as necessary for each visible page that requires rendering. You can override this method to draw on top of a PDF page. In this case, invoke this method on super and then perform a custom drawing on top of the PDF page. Do not invoke this method, except by invoking it on super from a subclass.