Report Generation

Stimulsoft Reports.NET discussion
Post Reply
vijendra
Posts: 26
Joined: Fri Apr 18, 2008 9:11 am
Location: Udaipur

Report Generation

Post 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);

Anton Lozovskiy
Posts: 135
Joined: Tue Aug 11, 2009 9:38 am

Report Generation

Post 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.
Post Reply