1. mike S
  2. PowerBuilder
  3. Tuesday, 5 December 2023 18:51 PM UTC

what advantages does PDFDocument.ImportDataWindow(dw) provide over using the datawindow saveas?

I see this is a new feature of the pdfdocument, but i am wondering why this was added since we already have the saveas(pdf) with the various export.pdf options in it.

Accepted Answer
Peter Pang @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 6 December 2023 05:32 AM UTC
  2. PowerBuilder
  3. # Permalink

Hi Mike S,

 

Thanks for reporting the issue.

what advantages does PDFDocument.ImportDataWindow(dw) provide over using the datawindow saveas?

Answer: The advantages are less user-written code (including pdf file names) and easier concept understanding. The inside of PDFDocument.ImportDataWindow() also uses datawindow.saveas (pdf).

 

Best Regards,

Peter

Comment
There are no comments made yet.


There are replies in this question but you are not allowed to view the replies from this question.