This sample shows how to export FlexGrid to an existing PdfDocument using draw and drawToPosition methods with different settings. Read More
Apart from export method, FlexGridPdfConverter also provides the draw and drawToPosition class methods which are used to export FlexGrid to an existing PdfDocument instance.
Here is the differences between these methods:
The following code snippet shows usage of these methods:
wijmo.grid.pdf.FlexGridPdfConverter.draw(grid, doc); wijmo.grid.pdf.FlexGridPdfConverter.drawToPosition(grid, doc, new wijmo.Point(0, 300));