.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
Row

Workbook.ExportToPdf Method

Name Parameters Description
ExportToPdf(Stream) stream 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.
ExportToPdf(Stream, PdfExportOptions) stream, options 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.
ExportToPdf(Stream, PdfExportOptions, IEnumerable<String>) stream, options, sheetNames Defines export options and 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.
ExportToPdf(Stream, PdfExportOptions, String[]) stream, options, sheetNames Defines export options and 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.
ExportToPdf(String) fileName 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.
ExportToPdf(String, PdfExportOptions) fileName, options Exports the workbook 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.
ExportToPdf(String, PdfExportOptions, IEnumerable<String>) fileName, options, sheetNames Defines export options and 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.
ExportToPdf(String, PdfExportOptions, String[]) fileName, options, sheetNames Defines export options and 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.