PDF export whitout settings dialog

Stimulsoft Reports.NET discussion
Post Reply
Mpanal
Posts: 43
Joined: Thu Sep 07, 2006 11:28 am
Location: Spain

PDF export whitout settings dialog

Post by Mpanal »


Please, tell me how export to pdf whitout the settings dialog in VB syntax.

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

PDF export whitout settings dialog

Post by Edward »

Hi

Please use the following code:

Code: Select all

report.Render(false)
Dim MySettings As New Stimulsoft.Report.Export.StiPdfExportSettings()
report.ExportDocument(Stimulsoft.Report.StiExportFormat.Pdf, "MyFile.pdf", mySettings)
mySettings variable allows you adjust pdf export directly from code.

Thank you.
Mpanal
Posts: 43
Joined: Thu Sep 07, 2006 11:28 am
Location: Spain

PDF export whitout settings dialog

Post by Mpanal »


Ok. Thanks you
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

PDF export whitout settings dialog

Post by Edward »

Hi

Please let us know if you need any help.

Thank you.
Post Reply