Posted 13 March 2018, 8:11 pm EST
Hello, Mohit,
-
I am Using Section Report.
-
Showing the report as PDF in viewer page. (Code included here)
Following code is available on the “Page Load” event of the web page , containing web viewer
Viewer Type : RawHtml
Note : Have also checked by setting Viewer Type as : Acrobat Reader , but that dosent show the text at all.
Dim rpt As New rptRegistrationForm
rpt.DataSource = dtTable
rpt.Run(False)
Dim pdf As New PdfExport
Dim memStream As New System.IO.MemoryStream()
Response.ContentType = "application/pdf"
Response.Clear()
Response.AddHeader("content-disposition", "inline;filename=MyPDF.PDF")
pdf.Export(rpt.Document, memStream)
Response.BinaryWrite(memStream.ToArray)
Response.End()
3. Screenshots are shared.
a. Correct view in Design View of Section Report
b. Distorted view in Output PDF view in web viewer page.
4. AR Version : 11 Professional , running on Visual Studio 2012.
5. Will redesign the report for testing and share, if still required.
Thanks in Advance.
[img]public\uploads\ba4a8e6ca31a086c9742481394d921e71521018703432.jpeg[/img]