ComponentOne ASP.NET MVC Controls
PdfWebWorker Class
File
wijmo.grid.pdf.js
Module
wijmo.grid.pdf

Represents server-side methods for exporting FlexGrid to PDF/generating PDF, for use with Web Worker.

Methods

Methods

 

Static deserializeGrid
deserializeGrid(data: ArrayBuffer, settings?: IFlexGridDrawSettings): any

Deserializes the draw and drawToPosition methods.

Parameters
Optional

The draw settings used to deserialize the grid.

Returns
any

 

Static initExport
initExport(draw: Function): void

Performs the PDF document generation started in a UI thread by calling the export method.

Parameters
Returns
void

Static initExportGrid

initExportGrid(): void

Performs the export started in a UI thread by calling the exportGrid method.

Returns
void

Static sendExportProgress

sendExportProgress(value: number): void

Sends the progress value to a client, where it will be handled by the export's progress callback function. Should be used in conjunction with the export method to inform client about the progress of the export.

Parameters
Returns
void