• 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 convert pixels to centimeters in Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to convert pixels to centimeters in Cocoa


  • Subject: Re: How to convert pixels to centimeters in Cocoa
  • From: Conor <email@hidden>
  • Date: Tue, 08 May 2007 19:33:20 +0200

> [[NSPrintInfo sharedPrintInfo] paperSize]

I don't have the solution for you but be careful paperSize is given in
points, not pixels as your code would assume. There some good post here in
the mailing list about screen resolution and printing; that might be of
interest.

Regards,
Conor
http://www.bruji.com/


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Optimizing Core Data for large time series
  • Next by Date: NSScanner Sanity Check
  • Previous by thread: How to convert pixels to centimeters in Cocoa
  • Next by thread: Optimizing Core Data for large time series
  • Index(es):
    • Date
    • Thread