• 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
printing NSView on top of page (not on center as is)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

printing NSView on top of page (not on center as is)


  • Subject: printing NSView on top of page (not on center as is)
  • From: Alexey Galygin <email@hidden>
  • Date: Sat, 15 Jul 2006 21:52:46 +0400

Hi!

In my program I have tableView outlet - instance of NSTextView and when user select File/Print menu print: method called in my NSWindowController subclass.
Method code like this:


... // some settings...
[printView print:self];

Table printed on center (by vertically) of page. It's looking good when output is one page,
but when two or more pages printed last page is centered - and it's looking bad.


Question:
How to say Cocoa that I need align at top (not center)?

10x for any suggestions.

begin:vcard
fn:Alexey Galygin
n:Galygin;Alexey
org:MIEM;MITME / Web Dep.
adr;dom:;;;Moscow
email;internet:email@hidden
title:Chief Software Architect
tel;work:+7(495)917-02-98
x-mozilla-html:TRUE
url:http://mif.polimercolor.ru
version:2.1
end:vcard

 _______________________________________________
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

  • Prev by Date: Re: Drag and drop... without moving mouse?
  • Next by Date: Re: Making Text Bigger and Smaller
  • Previous by thread: WebView can't change background color?
  • Next by thread: Re: NSPipe / NSTask ls -> Array
  • Index(es):
    • Date
    • Thread