Skip to main content

DataGridExportExtensions.ExportToPdfAsync Method

Name Parameters Description
ExportToPdfAsync(DataGridView, Stream, PdfExportOptions) static grid, stream, options Exports DataGridView data to a stream in PDF format with the specified export options.
ExportToPdfAsync(DataGridView, Stream) static grid, stream Exports DataGridView data to a stream in PDF format.
ExportToPdfAsync(DataGridView, String, PdfExportOptions) static grid, filePath, options Exports DataGridView data to PDF format with the specified path and export options.
ExportToPdfAsync(DataGridView, String) static grid, filePath Exports DataGridView data to PDF format with the specified path.