All docs
V20.1
20.2 (EAP/Beta)
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
Row

Workbook.ExportToPdfAsync Method

Name Parameters Description
ExportToPdfAsync(Stream) stream Asynchronously exports the workbook to the specified stream in PDF format. You need an active license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use this method in production code.
ExportToPdfAsync(Stream, PdfExportOptions) stream, options Asynchronously exports the workbook to the specified stream in PDF format using the specified options. You need an active license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use this method in production code.
ExportToPdfAsync(Stream, PdfExportOptions, IEnumerable<String>) stream, options, sheetNames Asynchronously exports the workbook to the specified file path in PDF format. You need an active license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use this method in production code.
ExportToPdfAsync(Stream, PdfExportOptions, IEnumerable<String>, CancellationToken) stream, options, sheetNames, cancellationToken Defines export options and asynchronously exports the specified sheets to the stream in PDF format. You need an active license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use this method in production code.
ExportToPdfAsync(Stream, PdfExportOptions, String[]) stream, options, sheetNames Asynchronously exports specific worksheets to the specified file path in PDF format using the specified options. You need an active license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use this method in production code.
ExportToPdfAsync(Stream, PdfExportOptions, CancellationToken) stream, options, cancellationToken Asynchronously exports the workbook to the specified stream in PDF format using the specified options. You need an active license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use this method in production code.
ExportToPdfAsync(Stream, CancellationToken) stream, cancellationToken Asynchronously exports the workbook to the specified stream in PDF format. You need an active license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use this method in production code.
ExportToPdfAsync(String) fileName Asynchronously exports the workbook to the specified file path in PDF format. You need an active license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use this method in production code.
ExportToPdfAsync(String, PdfExportOptions) fileName, options Asynchronously exports the workbook to the specified stream in PDF format using the specified options. You need an active license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use this method in production code.
ExportToPdfAsync(String, PdfExportOptions, IEnumerable<String>) fileName, options, sheetNames Defines export options and asynchronously exports the specified sheets to the file in PDF format. You need an active license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use this method in production code.
ExportToPdfAsync(String, PdfExportOptions, IEnumerable<String>, CancellationToken) fileName, options, sheetNames, cancellationToken Defines export options and asynchronously exports the specified sheets to the file in PDF format. You need an active license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use this method in production code.
ExportToPdfAsync(String, PdfExportOptions, String[]) fileName, options, sheetNames Defines export options and asynchronously exports the specified sheets to the file in PDF format. You need an active license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use this method in production code.
ExportToPdfAsync(String, PdfExportOptions, CancellationToken) fileName, options, cancellationToken Asynchronously exports the workbook to the specified file path in PDF format. You need an active license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use this method in production code.
ExportToPdfAsync(String, CancellationToken) fileName, cancellationToken Asynchronously exports the workbook to the specified file path in PDF format. You need an active license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use this method in production code.