IAnalyticReporting.DisplayStimulsoftReport (String, String, Boolean, FormWindowState, Boolean, Boolean, String) Method

Displays a Stimulsoft business intelligence report mixed up with a data source.
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.
void DisplayStimulsoftReport( 
string reportPath
string dataSourcePath
bool ShowPreviewWindow
FormWindowState PreviewWindowState
bool ShowProgressBar
bool CloseAfterRendering
string ExportResultToFile = "" 
)
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

QdvApiException

A problem occurred.

Version
 
Available since QDV 7.21.885.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition