how to print a NSView
how to print a NSView
- Subject: how to print a NSView
- From: Linea Tessile srl <email@hidden>
- Date: Fri, 10 Dec 2004 12:34:38 +0100
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