Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8908

Error report datawindow saveas PDF PB12.5.NET

$
0
0

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,


Viewing all articles
Browse latest Browse all 8908

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>