Home > Blockchain >  Opening a PDF file in a PowerBuilder window
Opening a PDF file in a PowerBuilder window

Time:02-24

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

CodePudding user response:

Use the new webbrowser control. Send the url/path to the .pdf you want to open. Check out the help file for more information.

CodePudding user response:

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?

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 unwanted areas on the screen. Is there a way to make them disappear? I searched the following document but couldn't find anything that would help me: https://opensource.adobe.com/dc-acrobat-sdk-docs/acrobatsdk/pdfs/acrobatsdk_iacguide.pdf Do you have any ideas?

I will look into your proposal to insert the PDF in a webbrowser

Thanks again for your help

  • Related