Re: Printing - taking advantage of full page size?
Re: Printing - taking advantage of full page size?
- Subject: Re: Printing - taking advantage of full page size?
- From: David Duncan <email@hidden>
- Date: Tue, 29 Jan 2008 10:34:00 -0800
On Jan 29, 2008, at 6:18 AM, Jim Correia wrote:
It looks like the pagination methods on NSView solve the opposite
problem that I'd like to solve here. I don't want to paginate my
view, but expand it to take up a full page when the on screen
dimensions are smaller than one page.
In this situation, what is the best way to solve the problem? Simply
create and configure another view for printing which displays the
same content?
The pagination methods are still the best way to do this. You would
simply state that your content has exactly 1 page that fills the size
of the paper. Then when your -drawRect is invoked, it will be invoked
to draw within the bounds of the page size you specified previously.
--
David Duncan
Apple DTS Animation and Printing
email@hidden
_______________________________________________
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