Presentation.ExportToPdf(Stream) Method
Exports the presentation as a PDF file to the specified stream. The stream should be readable and writable.
Namespace: DevExpress.Docs.Presentation
Assembly: DevExpress.Docs.Presentation.v25.2.dll
NuGet Package: DevExpress.Docs.Presentation
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| stream | Stream | A stream to which the presentation is exported. |
Remarks
Pass the PdfExportOptions object as the ExportToPdf method parameter to specify export options.
For more information, refer to the following help topic: Export Loaded or Generated Presentation with DevExpress Presentation API Library.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ExportToPdf(Stream) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.