Skip to main content

RichEditControl.ExportToPdf(Stream, PdfCreationOptions, PdfSaveOptions) Method


Use the 'ExportToPdf' method instead.

Exports the content of the RichEditControl to the specified stream in PDF format, applying options for creating and saving.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.XtraRichEdit.v24.1.dll

NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.RichEdit, DevExpress.Win.TreeMap


[Obsolete("Use the 'RichEditControl.ExportToPdf(Stream stream, PdfExportOptions pdfExportOptions)' method instead.", false)]
public void ExportToPdf(
    Stream stream,
    PdfCreationOptions creationOptions,
    PdfSaveOptions saveOptions


Name Type Description
stream Stream

A Stream object, to which the created document is exported.

creationOptions PdfCreationOptions

A PdfCreationOptions object.

saveOptions PdfSaveOptions

A PdfSaveOptions object.


PDF Export features and limitations are detailed in the Export to PDF document.

See Also