Page 1 of 1

See a PDF file into StiWebViwer

Posted: Thu Feb 19, 2009 6:56 pm
by Paulo Victor Benini
Hello,

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

thanks

See a PDF file into StiWebViwer

Posted: Fri Feb 20, 2009 1:07 am
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.

See a PDF file into StiWebViwer

Posted: Fri Feb 20, 2009 8:50 am
by Paulo Victor Benini
but, is possible import a pdf file into report component?

See a PDF file into StiWebViwer

Posted: Fri Feb 20, 2009 9:01 am
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.