Page 1 of 1

Report Generation

Posted: Fri Apr 16, 2010 4:12 am
by vijendra
Hi
Thanks for prompt reply.I want to generate a report on button click and save it in PDF format.It should be password protected as well.
The following code sent by you is not being recognized.
Pls suggest if i need to add anything.I am using ver 2009 of stimulsoft.
Regards
Bharat

StiPdfExportSettings settings = new StiPdfExportSettings();
settings.PasswordInputOwner = "1";
settings.PasswordInputUser = "2";

report.ExportDocument(StiExportFormat.Pdf, "file.pdf", settings);


Report Generation

Posted: Fri Apr 16, 2010 8:06 am
by Anton Lozovskiy
Hello,

You need to add the following line:
Imports Stimulsoft.Report.Export

Code is works on version 2009.1.400.

Thank you.