ActiveX PDFWindow Question...

Hello everybody:
I have implemented a pdf viewer application using the ActiveX PDFWindow. One of the functions that my apllication should have is "Rotate PDF" ... how can I do this with PDFWindow?
Also, how do I create a Page object from the currently viewed page in my PDFWindow?
Any guidance is greatly appreciated.

Regards,
Ajay

Ajay J. Deshpande wrote:

Hello everybody:
I have implemented a pdf viewer application using the ActiveX PDFWindow. One of the functions that my apllication should have is "Rotate PDF" ... how can I do this with PDFWindow?
Also, how do I create a Page object from the currently viewed page in my PDFWindow?
Any guidance is greatly appreciated.

Regards,
Ajay

You don't say whether you want to perform the rotation programatically from within your application, or you just want the user to be able to rotate the displayed view. If the latter, there is a 'Rotate' button inside the Acrobat Reader display window itself - at least there is on Acrobat Reader 7.0 (I don't have any other versions installed at the moment to check). However, with Version 7, note the following, recently posted here by Robin Dunn, about using the Activex_IEHtmlWindow instead.

".... on Windows you can use the Acrobat ActiveX component. Acrobat 7.0 changed a some things in their COM interface which apparently makes it impossible to use directly from wxPython, but it was recently discovered that using the Internet Explorer ActiveX component and having it load the PDF works very well. See the mail list archives in the past few weeks for an example. --- Robin Dunn "

···

---
Regards,
David Hughes

hi david:
sorry...i wasnt complete in my description...i want to be able to rotate pdfs programatically.
thanks for your help.
-Ajay

David Hughes wrote:

···

Ajay J. Deshpande wrote:

Hello everybody:
I have implemented a pdf viewer application using the ActiveX PDFWindow. One of the functions that my apllication should have is "Rotate PDF" ... how can I do this with PDFWindow?
Also, how do I create a Page object from the currently viewed page in my PDFWindow?
Any guidance is greatly appreciated.

Regards,
Ajay

You don't say whether you want to perform the rotation programatically from within your application, or you just want the user to be able to rotate the displayed view. If the latter, there is a 'Rotate' button inside the Acrobat Reader display window itself - at least there is on Acrobat Reader 7.0 (I don't have any other versions installed at the moment to check). However, with Version 7, note the following, recently posted here by Robin Dunn, about using the Activex_IEHtmlWindow instead.

".... on Windows you can use the Acrobat ActiveX component. Acrobat 7.0 changed a some things in their COM interface which apparently makes it impossible to use directly from wxPython, but it was recently discovered that using the Internet Explorer ActiveX component and having it load the PDF works very well. See the mail list archives in the past few weeks for an example. --- Robin Dunn "

---
Regards,
David Hughes

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org