• 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: PDF Viewer question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PDF Viewer question


  • Subject: Re: PDF Viewer question
  • From: marquis logan <email@hidden>
  • Date: Mon, 10 Mar 2003 09:13:43 -0800

On Monday, March 10, 2003, at 09:01AM, Hasan Diwan <email@hidden> wrote:

>I just wrote a PDF viewer after getting annoyed with Preview.app and
>Acrobat's lack of speed. The NSView subclass is pasted below. If I drag
>a PDF file into the view, the first page only displays, I'd like to
>have a vertical scrollbar to display the rest of the pages. Any help
>appreciated. Thanks!

- [NSPDFImageRep setCurrentPage:(int)page]

is probably where you want to start, if you want cocoa to render pages other than 0 for you.

nibs
_______________________________________________
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.

  • Prev by Date: Please evaluate a wake/sleep catch...
  • Next by Date: Re: Adding scripting support to Cocoa applications
  • Previous by thread: Re: PDF Viewer question
  • Next by thread: pasteFont in plain NSTextView
  • Index(es):
    • Date
    • Thread