What are you trying to achieve? Please describe.
I am displaying a PDF file, they are single-page files, but I would like to be able to access the file's dimensions so I can calculate the zoom level. I didn't see anything in the documentation about reading a file's data once loaded.
Additional information
I would like to read the data from the file anytime before it's rendered.
Environment
Yes, absolutely. <Page />'s onLoadSuccess callback gets page object as an argument, and said object contains everything you need: width, height (scaled - as rendered), originalWidth, originalHeight (original).
Would you be interested in having me add this as an example to the README in a pull request?
Hmmm, I'd need not to be picky and document all the interesting arguments. I'll tackle it, but not right now - swimming in notifications 馃槥
Most helpful comment
Yes, absolutely.
<Page />'sonLoadSuccesscallback getspageobject as an argument, and said object contains everything you need:width,height(scaled - as rendered),originalWidth,originalHeight(original).