Crystal Report create strange PDF format on server

2019-09-04 08:34发布

I am trying to export a crystal report into PDF format using the below code.

Report.ExportToDisk(ExportFormatType.PortableDocFormat, _
                        System.AppDomain.CurrentDomain.BaseDirectory() & sPDF_FileName)

The format of the PDF is normal, like an A4 size on local host, but when creating the file on server, the format is entirely different. The report or the page is sliced into small pieces and a single page is converted into multiple pages.

I appreciate your help.

Thank you.

0条回答
登录 后发表回答