Instance Method

drawInRect:forPageAtIndex:

Draws the portion of a print formatter’s content that goes in the given area for the specified page

Declaration

- (void)drawInRect:(CGRect)rect forPageAtIndex:(NSInteger)pageIndex;

Parameters

rect

The area in which to draw the content.

pageIndex

The number of the page of content to draw.

Discussion

This method is called by the default implementation of drawPrintFormatter:forPageAtIndex: of the UIPrintPageRenderer class for each print formatter associated with a page.

See Also

Drawing the Content

- rectForPageAtIndex:

Returns the area enclosing a specified page of content.