Get original pdf width and height.

vayne wong's Avatar

vayne wong

12 Apr, 2016 07:37 AM

Hi, my company already purchase the license of the fast kit pdf. It work fine,but I need some technical support.

Base on your document,the fast kit pdf provide function:
- (CGRect) convertRect: dummy(CGRect) rect toViewFromPage:(NSUInteger) page

to resize a custom CGRect to fit the current PDF ViewController.But the problem is it only resize base on the the PDF ViewController size and not from the original PDF width and height.

I wonder do fast kit pdf provide a function that can get the original pdf width and height?

Because it quite difficult for us to recalculate the correct ratio with out the original pdf size.

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

Generic

? 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