On our GUI screens we use the Telerik.Windows.Controls.RadRichTextBox control. We save it to a PDF byte array with the PdfFormatProvider.Export() method.
The PDF byte array is passed through a WCF-service that saves it in a SQL-Server database. So far so good.
To print the content of the RadRichTextBox control on the Telerik.Reporting.Report we use the Telerik.Reporting.PictureBox control.
But this control can handle only image formats, no PDF. For Silverlight it is also limited to a few formats. Our choice was the PNG-format.
In the WCF-service the PDF byte array read from the database, is converted to a PNG byte array (using using GhostScript DLL) that is returned to the Silverlight client application.
Through a object data source the PNG byte array comes in the report and is bind to the PictureBox.
Conclusion:
The PDF byte array is passed through a WCF-service that saves it in a SQL-Server database. So far so good.
To print the content of the RadRichTextBox control on the Telerik.Reporting.Report we use the Telerik.Reporting.PictureBox control.
But this control can handle only image formats, no PDF. For Silverlight it is also limited to a few formats. Our choice was the PNG-format.
In the WCF-service the PDF byte array read from the database, is converted to a PNG byte array (using using GhostScript DLL) that is returned to the Silverlight client application.
Through a object data source the PNG byte array comes in the report and is bind to the PictureBox.
Conclusion:
As you can see this is a very long and difficult way to just print the content of a RadRichTextBox!
The content is on the report but the quality from the converted PDF is so very bad that is not acceptable. So I’m stuck.
Question
Is if there is a better Telerik way to do the job. If not I can’t use the Telerik controls an we will not buy.
Maybe I need I powerfull PDF-PNG commercial converter with a .Net API to improve the quality.
The content is on the report but the quality from the converted PDF is so very bad that is not acceptable. So I’m stuck.
Question
Is if there is a better Telerik way to do the job. If not I can’t use the Telerik controls an we will not buy.
Maybe I need I powerfull PDF-PNG commercial converter with a .Net API to improve the quality.