• 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
A4 and NSMakeRect
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A4 and NSMakeRect


  • Subject: A4 and NSMakeRect
  • From: Sanri Parov <email@hidden>
  • Date: Sun, 27 Jul 2003 13:28:20 +0200

Hi everybody,

I'm going to print some informations from the database of my project
using an hidden NSTextView such as this:

[[NSTextView alloc]initWithFrame:NSMakeRect(0.0,0.0 ,x,y)];

The point is that I want the rectangle to be large exactly 1 centimetre
less than the normal borders of a common A4 paper sheet. What are the
values I have to insert into NSMakeRect's 'x' and 'y'?
Sorry for the foolness of this question but I can't understand how to
make a WYSIWYG thing.
TY.

--
Sanri Parov
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: A4 and NSMakeRect
      • From: Matt Gemmell <email@hidden>
  • Prev by Date: How to read IPTC meta data from a file
  • Next by Date: Re: NSTextView storage problem
  • Previous by thread: How to read IPTC meta data from a file
  • Next by thread: Re: A4 and NSMakeRect
  • Index(es):
    • Date
    • Thread