Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.