See a PDF file into StiWebViwer

Stimulsoft Reports.NET discussion
Post Reply
Paulo Victor Benini
Posts: 12
Joined: Wed Jan 07, 2009 5:06 am
Location: Cornélio Procópio

See a PDF file into StiWebViwer

Post by Paulo Victor Benini »

Hello,

is possible open a pdf file, or other file inside the StiWebViewer?

thanks
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

See a PDF file into StiWebViwer

Post by Edward »

Hello,

It is only possible to render the report as pdf via StiReportResponse.

Please use the following code to export rendered report in Pdf:

report.ExportDocument(Stimulsoft.Report.StiExportFormat.Pdf, "D:\\MyFile.pdf");

To render report in pdf, please use the following:
Stimulsoft.Report.Web.StiReportResponse.ResponseAsPdf(this, report, false)

if you need a window with asking about saving the Pdf, please use the following command:

Stimulsoft.Report.Web.StiReportResponse.ResponseAsPdf(this, report)

Thank you.
Paulo Victor Benini
Posts: 12
Joined: Wed Jan 07, 2009 5:06 am
Location: Cornélio Procópio

See a PDF file into StiWebViwer

Post by Paulo Victor Benini »

but, is possible import a pdf file into report component?
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

See a PDF file into StiWebViwer

Post by Edward »

Hi.

Sorry we do not have plans to implement this feature in the nearest future. It is a very difficult task.

Thank you.
Post Reply