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

Returns Promise<number[] | string | Uint8Array>


getDashboardExportSettings static

getDashboardExportSettings(exportFormat: StiExportFormat, exportSettings: any): IStiDashboardExportSettings

Parameters

Returns IStiDashboardExportSettings


getExportSettings static

getExportSettings(exportFormat: StiExportFormat, exportSettings: any): StiExportSettings

Parameters

Returns StiExportSettings


getReportFileContentType static

getReportFileContentType(exportFormat: StiExportFormat, exportSettings: any): string

Parameters

Returns string


getReportFileName static

getReportFileName(exportFormat: StiExportFormat, exportSettings: any, report: StiReport, isDashboard: boolean): string

Parameters

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