Re: printOperationWithView multiple views
Re: printOperationWithView multiple views
- Subject: Re: printOperationWithView multiple views
- From: Leonardo <email@hidden>
- Date: Mon, 09 Jun 2014 19:41:52 +0200
- Thread-topic: printOperationWithView multiple views
Hi Kyle, thank you.
I am just approaching this method.
I create a parentView, then from the API beginPageInRect I replace its
content with the current page's view.
The problem is that when I move to the parentView the page's view currently
displayed on the screen, this page disappears from the window. I though to
put on the window a temporary image captured earlier, but its sound as a
dirty trick. Have you a better idea?
Regards
-- Leonardo
> Da: Kyle Sluder <email@hidden>
> Data: Mon, 9 Jun 2014 10:25:00 -0700
> A: Leonardo <email@hidden>
> Cc: "email@hidden" <email@hidden>
> Oggetto: Re: printOperationWithView multiple views
>
> 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