StiExportsHelper Class
Namespace: Stimulsoft.Viewer
Methods
| Method | Returns | Description | ||
|---|---|---|---|---|
exportDashboardAsync static |
Promise<number[] | string> | Exports dashboard page or element to the specified format | |
exportReportAsync static |
Promise<number[] | string | Uint8Array> | |
getDashboardExportSettings static |
IStiDashboardExportSettings | |||
getExportSettings static |
StiExportSettings | |||
getReportFileContentType static |
string | |||
getReportFileName static |
string |
Method Details
exportDashboardAsync static
exportDashboardAsync(requestParams: any, report: StiReport, exportSettings: IStiDashboardExportSettings): Promise<number[] | string>
Exports dashboard page or element to the specified format
Parameters
- requestParams (any)
- report (StiReport)
- exportSettings (IStiDashboardExportSettings)
Returns Promise<number[] | string>
exportReportAsync static
exportReportAsync(exportFormat: StiExportFormat, exportSettings: any, report: StiReport, settings: StiExportSettings): Promise<number[] | string | Uint8Array>
Parameters
- exportFormat (StiExportFormat)
- exportSettings (any)
- report (StiReport)
- settings (StiExportSettings)
Returns Promise<number[] | string | Uint8Array>
getDashboardExportSettings static
getDashboardExportSettings(exportFormat: StiExportFormat, exportSettings: any): IStiDashboardExportSettings
Parameters
- exportFormat (StiExportFormat)
- exportSettings (any)
Returns IStiDashboardExportSettings
getExportSettings static
getExportSettings(exportFormat: StiExportFormat, exportSettings: any): StiExportSettings
Parameters
- exportFormat (StiExportFormat)
- exportSettings (any)
Returns StiExportSettings
getReportFileContentType static
getReportFileContentType(exportFormat: StiExportFormat, exportSettings: any): string
Parameters
- exportFormat (StiExportFormat)
- exportSettings (any)
Returns string
getReportFileName static
getReportFileName(exportFormat: StiExportFormat, exportSettings: any, report: StiReport, isDashboard: boolean): string
Parameters
- exportFormat (StiExportFormat)
- exportSettings (any)
- report (StiReport)
- isDashboard (boolean)
Returns string
Fields
| Field | Type | Description |
|---|---|---|
| asArray | any | |
| asArray | any | |
| dashboard | any | |
| ext | any | |
| ext | any | |
| ext | any | |
| fileName | any | |
| service | any | |
| service | any | |
| service | any |