Re: printOperationWithView multiple views
Re: printOperationWithView multiple views
- Subject: Re: printOperationWithView multiple views
- From: Kyle Sluder <email@hidden>
- Date: Mon, 09 Jun 2014 10:25:00 -0700
On Jun 9, 2014, at 10:05 AM, Leonardo <email@hidden> wrote:
>
> I have a document with several pages. Each page has its own custom view.
> When I print it using printOperationWithView: I must pass here one only
> view. But I have several views.
> If I pass the first page's view, then when I click on the preview next page
> button, nothing happens.
> And there is no way to change the view from within the API beginPageInRect
> nor from rectForPage.
> How to achieve that?
Arrange your views in a parent view. This means you will likely need to create separate views for printing than you use for on-screen display.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden