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

Re: Storing PDF selection


  • Subject: Re: Storing PDF selection
  • From: Laurent Cerveau <email@hidden>
  • Date: Sat, 17 May 2008 15:13:29 +0200

Thanks Antonio

But the problem here is to get the "yourRememberedRange". Access to it does not seem to exist on a PDFSelection. As John Calhoun suggested in another email I tried with rect but this fails also.

laurent

On May 16, 2008, at 9:11 AM, Antonio Nunes wrote:


You ask the page for a selection for the range you provide, and assign that to PDFView's current selection:
[somePDFView setCurrentSelection:[yourRememberedPage selectionForRange:yourRememberedRange]];


Selections can span multiple pages of course, so covering that requires a bit more work, but it's not difficult.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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


References: 
 >Storing PDF selection (From: Laurent Cerveau <email@hidden>)
 >Re: Storing PDF selection (From: Antonio Nunes <email@hidden>)

  • Prev by Date: Re: Dynamic message typing problem
  • Next by Date: Re: Storing PDF selection
  • Previous by thread: Re: Storing PDF selection
  • Next by thread: Re: Storing PDF selection
  • Index(es):
    • Date
    • Thread