Page 1 of 1

PDF export whitout settings dialog

Posted: Fri Oct 16, 2009 2:35 am
by Mpanal

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

Thanks you

PDF export whitout settings dialog

Posted: Fri Oct 16, 2009 9:51 am
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.

PDF export whitout settings dialog

Posted: Mon Oct 19, 2009 5:17 am
by Mpanal

Ok. Thanks you

PDF export whitout settings dialog

Posted: Mon Oct 19, 2009 5:58 am
by Edward
Hi

Please let us know if you need any help.

Thank you.