zoomToRect not working

Ankita's Avatar


17 Apr, 2017 08:34 AM


I need to programmatically zoom the pdf to particular zoom level from given rect when its loaded. I noticed there is method for same that is zoomToRect. But unfortunately, its not working, pdf is not getting zoomed.
Also the zoom is not even working when we use the search functionality. Its just highlighting the searched text but not getting zoomed to focus on that text as it was earlier working when I had worked with FastPdfKit few years back.
Please check this issue and let me know as I need to use this in my project.


  1. 1 Posted by Ankita on 17 Apr, 2017 08:36 AM

    Ankita's Avatar


    By zoomToRect method, I mean this one
    (void)setPage:(NSUInteger)page withZoomOfLevel:(float)zoomLevel onRect:(CGRect)rect

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

15 Apr, 2020 04:25 AM
26 Feb, 2020 07:23 AM
27 Jun, 2019 06:08 AM
23 Nov, 2018 01:54 PM
14 Nov, 2018 04:37 PM