Overridden to draw a given page of content for the printer.
SDKs
- iOS 4.2+
- Mac Catalyst 13.0+
Framework
- UIKit
Declaration
Parameters
index
The index of the page to draw.
pageRect
The rectangle in which printable content can be drawn.
Discussion
The default implementation of this method calls, in sequence, draw
, draw
, draw
, and draw
. The method is set up for drawing to the current graphics context (as returned by UIGraphics
).