Hi,
I have a project(window application) to migrate from powerbuilder classic to .net
everything working fine in classic, but after migration I found an issue with datawindow.saveas (datawindow save as pdf process).
*already using ghostscript to convert to pdf
I can't save my graph datawindow to PDF and It was cause system's crash (not even return -1 value) during datawindow.saveas process but it working fine to others datawindow (other than graph)
here code that i'm using to save datawindow as pdf
adw_mainreport.Modify("DataWindow.Export.PDF.Method = Distill!")
adw_mainreport.Object.DataWindow.Printer = is_fileprintername
adw_mainreport.Modify("DataWindow.Export.PDF.Distill.CustomPostScript='YES'")
li_ret = adw_mainreport.SaveAs(ls_newrepfile, PDF!, true)
Thanks in advance for your respond
Regards,