IAnalyticReporting.DisplayStimulsoftReport (String, String, Boolean, FormWindowState, Boolean, Boolean, String) Method
Sub DisplayStimulsoftReport( _
ByVal reportPath As String, _
ByVal dataSourcePath As String, _
ByVal ShowPreviewWindow As Boolean, _
ByVal PreviewWindowState As FormWindowState, _
ByVal ShowProgressBar As Boolean, _
ByVal CloseAfterRendering As Boolean, _
Optional ByVal ExportResultToFile As String = "" _
)
This language is not supported or no code example is available.
Parameters
- reportPath
- string
The full path to a Stimulsoft report.
- dataSourcePath
- string
The full path to a Microsoft Excel file containing the data source.
- ShowPreviewWindow
- bool
true when you want the preview window to popup. otherwize false.
- PreviewWindowState
- FormWindowState
the state of the preview window (Maximized, Minimized or Normal).
- ShowProgressBar
- bool
true when you want to see the progress bar while the report is rendered. otherwize false. You can show the progress bar even if you don't display the preview window.
- CloseAfterRendering
- bool
true when you want the close the preview window after the report is fully rendered (useful when you want your report to create a file). otherwize false.
- ExportResultToFile
- string
A file name to be created at rendering time to export the result. Following extensions are supported:
.CSV (a coma separate values file)
.DBF (a dBase file)
.DIF (a DIF interchange format file)
.XLS (an XLS file - Excel 2003)
.XLSX (an XML Excel file - 2007 and above)
.HTML (an HTML file)
.HTML5 (an HTML5 file)
.TXT (a text file)
.DOCX (a Word file - 2007 and above)
.PDF (a PDF file)
.TIFF (an image TIFF file)
.BMP (an image BMP file)
Exception type | Condition |
---|---|
A problem occurred. |