Re: how to print a NSView
Re: how to print a NSView
- Subject: Re: how to print a NSView
- From: Jonathan Jackel <email@hidden>
- Date: Sat, 11 Dec 2004 21:32:05 -0500
I suggest you read the documentation on printing:
file:///Developer/ADC Reference Library/documentation/Cocoa/Conceptual/Printing/index.html
Also, it sounds like maybe you want to print the contentView of the scroll view, not the scroll view itself.
Jonathan
On Dec 10, 2004, at 6:34 AM, Linea Tessile srl wrote:
Hi people,
I have a window which contains a NSImageView and a NSView subclassed with a NSScrollView.
In the NSImageView I have put a .tif image and in the view an array of NSBezierPath that realize a design.
I needed to print this window, so I have used the Print item of MainMenuNib and I have connected it to NSWindow throught the print method.
Well, I have 3 problems:
1) the image .tif is not printed
2) the size of window is grater than A4 format, so it is reduced to permit to fit it in the page. In this way I have lost the real size of my design!!!
3) if my design size is greater than the size of NSScrollView, I can see the design moving the horizontal and vertical scroller, but I can't print it because only the part of design visible is printed!
Does anyone know how to help me?
Best regards ,
Alessandra _______________________________________________
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
_______________________________________________
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