### Export FlexGrid to a file

Important! This feature requires the wijmo.pdf and wijmo.grid.pdf extension modules.

This sample shows how to export a FlexGrid having row groups to a PDF file using the export method.

FlexGridPdfConverter provides export class method to export FlexGrid to a file.

The method takes the following arguments:

- The FlexGrid instance to export.
- Name of the PDF file to which grid is to be exported.
- The export settings. Along with other settings, it provides the documentOptions property that refers to the PdfDocument constructor options.

ActualSize PageWidth SinglePage Portrait Landscape All Selection