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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to