Re: PDFKit: panning the zoomed in PDF document
Re: PDFKit: panning the zoomed in PDF document
- Subject: Re: PDFKit: panning the zoomed in PDF document
- From: Nick <email@hidden>
- Date: Wed, 28 Mar 2012 15:15:33 +0300
This is for Mac OS.
The functionality - similar to the Preview.app
When the user zooms in the page, and the whole page does not fit into
the view, the user can pan the page to be able to browse the parts of
the page that otherwise can be seen only by using scrollbars (and the
latter is very inconvenient..).
> Depends on what you are trying to do.
>
> What's the total functionality you're going for? And is this for iOS or the
> Mac?
>
> On Mar 28, 2012, at 8:01 AM, Nick wrote:
>
> Hello,
>
> I am trying to figure out how to "pan" a pdf page displayed in a
> PDFView. Should I do this on my own (by intercepting mouseDragged and
> setting scroll position of the surrounding NSScrollView)? I couldn't
> find the method for setting this "panning mode" in PDFView class (by
> default, a selection mode is set), and the sample code does not show
> how to do so. However, Preview.app has a button "Move" which enables
> this panning mode..
>
> Thank you
> _______________________________________________
>
> 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
>
>
> - Alex Zavatone
>
>
>
_______________________________________________
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