How to read pdf file

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
greg
Earned some good credits
Earned some good credits
Posts: 111
Joined: Fri Sep 12, 2008 7:17 am

How to read pdf file

Post by greg » Fri Mar 07, 2014 10:31 am

Hi everyone
I want to read and display pdf file in the same
way like wxImage on wxImagePanel.
Is it possible using wx?
Regards
Greg

User avatar
doublemax
Moderator
Moderator
Posts: 15068
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: How to read pdf file

Post by doublemax » Fri Mar 07, 2014 10:42 am

There is dedicated class for this in wx. If you just want to display PDFs, use wxWebView.
Use the source, Luke!

greg
Earned some good credits
Earned some good credits
Posts: 111
Joined: Fri Sep 12, 2008 7:17 am

Re: How to read pdf file

Post by greg » Fri Mar 07, 2014 11:07 am

Thanks for the answer

I didn't use wxWebView library anymore.
How can I load pdf file - using SetPage (const wxString &html, const wxString &baseUrl) method ?
Is it possible to rotate pdf file using that library ?
Regards
Greg

User avatar
doublemax
Moderator
Moderator
Posts: 15068
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: How to read pdf file

Post by doublemax » Fri Mar 07, 2014 1:23 pm

How can I load pdf file - using SetPage (const wxString &html, const wxString &baseUrl) method ?
Use LoadURL().
Is it possible to rotate pdf file using that library ?
I don't think so.
Use the source, Luke!

Post Reply