1. Evelyn Clark
  2. PowerServer
  3. Wednesday, 12 July 2023 17:43 PM UTC
I am using a web browser control to display a photo in a PS 2021 application. 
This works fine but I need to be able to print it as part of a datawindow.
Can this be done? Or is there another way to display a photo that would be printable?
René Ullrich Accepted Answer Pending Moderation
  1. Thursday, 13 July 2023 05:30 AM UTC
  2. PowerServer
  3. # 1

Hi Evelyn,

I think there are different options.

If you want to print the picture in a datawindow you have to download it to a local directory. Then you can use it in a datawindow (e.g. by using the datawindow expression function bitmap() in a compuited column).

If you want to print the webbrowser page you could try to use the print function of webbrowser control or call webbrowsers print function by using EvaluateJavascriptSync function. (I have not tried this, don't know if it works.)

HTH,

René

 

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.