Draw and render a visible page.
SDK
- macOS 10.4–10.12Deprecated
Framework
- PDFKit
Declaration
- (void)drawPage:(PDFPage *)page;
Discussion
Do not invoke this method, except by invoking it on super
from a subclass.
The PDFView
class calls draw
as necessary for each visible page that requires rendering. In the PDFView
class, this method erases page
to white, calls [page draw
, and then draws the selection, if any.
You can override this method to draw on top of a PDF page or to control how pages are drawn. In these cases, invoke this method on super
and then perform custom drawing on top of the PDF page.