• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: how to print a NSView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >how to print a NSView (From: Linea Tessile srl <email@hidden>)

  • Prev by Date: Re: Dates and time zones
  • Next by Date: Re: doubleAction problems
  • Previous by thread: how to print a NSView
  • Next by thread: [OT] Objective-C history
  • Index(es):
    • Date
    • Thread