Hello,
Is it possible to open a PDF document in full screen mode in a powerbuilder version 2019 R3 build 2703 window?
Thank you for your help
- You are here:
- Home
- Q&A
- Q&A
- PowerBuilder
- Opening a PDF file in a PowerBuilder window
- jean-louis cantin
- PowerBuilder
- Monday, 21 February 2022 09:33 AM UTC
- Monday, 21 February 2022 11:38 AM UTC
- PowerBuilder
- # 1
You could try to hide the toolbar after loading the document:
ole_acrobat.object.src = is_filename
ole_acrobat.object.setShowToolbar (False)
ole_acrobat.object.setShowScrollbars (True)
ole_acrobat.object.setView ("FitH")
- Monday, 21 February 2022 10:17 AM UTC
- PowerBuilder
- # 2
Hi,
I use Acrobat Reader ActiveX control in a PB window to show PDF documents.
Maybe you can also open PDFs in the new WebBrowser control.
HTH,
René
- jean-louis cantin
- Wednesday, 23 February 2022 08:51 AM UTC
I will look into your proposal to insert the PDF in a webbrowser
Jean-Louis
-
Helpful Loading... Helpful 1
- Monday, 21 February 2022 11:00 AM UTC
- PowerBuilder
- # 3
Thank you for your answer.
In fact I am using an Adobe Acrobat DC browser Control / Implementation olecustomcontrol. The attached file shows the obtained display. I would like to get the display in full screen mode (CtrlL) automatically.
Is this possible?
Another question: How did you implement Acrobat Reader ActiveX?
Jean-Louis
- Monday, 21 February 2022 13:04 PM UTC
- PowerBuilder
- # 4
It works fine,
here is the code I used:
ole_pdf.object.src = "C:\TEMP\PDF\GDP386503G01.pdf"
ole_pdf.object.setPageMode ("none")
ole_pdf.object.setShowToolbar (False)
ole_pdf.object.setShowScrollbars (True)
ole_pdf.object.setView ("Fit")
However, there are still some unwanted areas on the screen (circled in yellow). I've searched the following document but haven't found anything that would help me: https://opensource.adobe.com/dc-acrobat-sdk-docs/acrobatsdk/pdfs/acrobatsdk_iacguide.pdf
Do you have an idea?
Thanks again for your help
- Miguel Leeuwe
- Wednesday, 23 February 2022 09:47 AM UTC
-
Helpful Loading... Helpful 0
- jean-louis cantin
- Wednesday, 23 February 2022 09:51 AM UTC
-
Helpful Loading... Helpful 0
- Miguel Leeuwe
- Wednesday, 23 February 2022 11:32 AM UTC
Anyway, your 'title' is more like a space to show the error / warning about the signature. What happens if you view a pdf without that warning appearing?
regards.
-
Helpful Loading... Helpful 0
- Page :
- 1
However, you are not allowed to reply to this question.