PDF problems
Posted: Thu Mar 21, 2013 2:02 am
The following, side-by-side, image shows some discrepancy problems with the way in which your viewer displays and prints a report and the corresponding PDF file (produced by using either the 'Print to PDF' or 'Save \ Adobe PDF File...' options): -
I'm currently using the latest pre-release version and experiencing the following issues with the PDF output: -
1) The first problem is that the quality of the image is significantly poorer in the PDF file. Is this something that can be improved by either adjusting the Stimulsoft settings or the format of the image file?
2) The ⅓ symbol (one third) in the text 'Load at ⅓ points' is not being displayed correctly in the PDF file and appears as a square. It displays and prints fine in your viewer.
3) The Notes text which contains a number of lines separated by vb.net's carriage-return character (vbCr) seems to ignore the carriage returns in the PDF file. Again, it displays and prints correctly in your viewer.
The following image shows the PDF export options I'm using:-
I'm also using the following vb.net code to display the report: -
Any help would be greatly appreciated in resolving these issues with the PDF output.
Thanks
I'm currently using the latest pre-release version and experiencing the following issues with the PDF output: -
1) The first problem is that the quality of the image is significantly poorer in the PDF file. Is this something that can be improved by either adjusting the Stimulsoft settings or the format of the image file?
2) The ⅓ symbol (one third) in the text 'Load at ⅓ points' is not being displayed correctly in the PDF file and appears as a square. It displays and prints fine in your viewer.
3) The Notes text which contains a number of lines separated by vb.net's carriage-return character (vbCr) seems to ignore the carriage returns in the PDF file. Again, it displays and prints correctly in your viewer.
The following image shows the PDF export options I'm using:-
I'm also using the following vb.net code to display the report: -
Code: Select all
StiOptions.Silverlight.Themes.CurrentTheme = StiSilverlightThemes.Office2010Blue
StiOptions.Viewer.Elements.ShowReportOpenButton = False
StiOptions.Viewer.Elements.ShowPageNewButton = False
StiOptions.Viewer.Elements.ShowPageDeleteButton = False
StiOptions.Viewer.Elements.ShowBookmarksPanel = False
StiOptions.Viewer.SaveReportsButtons.ShowDocumentButton = False
Dim report As New StiReport
Dim a As Assembly = Assembly.GetCallingAssembly()
Using sr As StreamReader = New StreamReader(a.GetManifestResourceStream(reportResourceName))
report.Load(sr.BaseStream)
End Using
report.CalculationMode = StiCalculationMode.Compilation
report.RegBusinessObject("ReportModel", "ReportModel", Me)
report.Render()
report.Show()
Thanks