Represents server-side methods for exporting FlexGrid to PDF/generating PDF, for use with Web Worker.
deserializeGrid(data: ArrayBuffer, settings?: IFlexGridDrawSettings): any
Deserializes the FlexGrid from ArrayBuffer to its internal representation that can be used in a Web Worker and passed to the draw and drawToPosition methods.
The data to deserialize.
The draw settings used to deserialize the grid.
initExport(draw: PdfDocument, clientData?: IClientData)): void
Performs the PDF document generation started in a UI thread by calling the export method.
The callback function to draw PDF. The function takes two parameters:
initExportGrid(): void
Performs the export started in a UI thread by calling the exportGrid method.
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.
The progress value, in the range of [0.0..1.0].