Re: Still problems resizing my view for printer
Re: Still problems resizing my view for printer
- Subject: Re: Still problems resizing my view for printer
- From: Stefan <email@hidden>
- Date: Sun, 6 Aug 2006 17:57:44 +0200
Am 06.08.2006 um 17:53 schrieb Shawn Erickson:
On Aug 6, 2006, at 8:41 AM, Stefan wrote:
Am 05.08.2006 um 12:34 schrieb Stefan:
I created a custom subclass of NSView and instantiated it using IB.
Somehow, it creates more pages, if I draw more stuff in drawRect:
(NSRect).
But I failed to top-left align it on a printer's page and resize
it to fill a complete
printer's page.
Some people proposed several example project from Apple, but none
does
implement this situation: Some draw windows, some don't draw anyway.
Could someone please explain, what I should do? The main problem
is resizing my
view somehow to fit the printer's page size....
Hm, my posts tend to get few answers...
Any ideas why? Trivial? Too complex? Hard to understand due to
insufficient
language skills of mine?
They aren't really clear in what exact problem you are having and
they provide little context on what you are doing so any one
answering would be guessing. Try to be specific as possible and
showing code samples always helps.
Thx, Shawn! I'll read the documents, you mentioned.
I'll try to rephrase: My NSView subclass prints its content
correctly, but does
not get aligned to the top-left corner of the page nor resized to fit
the printer's
page size.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden