cocoa - Printing a Webview == Clipped content after changing scaleUnitSquareToSize -


I used the code below to emulate the ability of Safari to change the scale of a webpage:

  - (IBAction) changeScale: (NSControl *) sender {[[[[wv mainframe] frameview] document view] setbound: [self original bonus]]; [[[[[VV main frame] frameview] Document view] Scale Usenet Skier Toss Size: NSMK Seiz ([Sender Float Value], [Sender Float Value]]; [[[[VV main frame] see frame] Document view] Saturns display: Yes]; }  

The problem is that when I print the scale down, while the content is small, it is not happening again: Basically a document is still 4 pages long There are 4 pages, but pages are only partially complete. I hope the pages will be compressed but use the full height of the paper.

To print, I am using this:

  [[[VV main frame] frameview] Document view [print] sender];  

Thoughts?

Thank you! Woody


UPDATE: I addressed this issue with the print team at WWDC and it came to know that my implementation was not ideal implementation;) They changed the webview to add scale functionality gave advice. Instead, they suggested that I modify the print dialog option so that it can add scale criteria, so that it can be adjusted during printing / pdf formation.

Case closed

The resolution was edited in the original question.


Comments