Skip to main content

RichEditControl.ExportToPdf(String, 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.Xpf.RichEdit

Assembly: DevExpress.Xpf.RichEdit.v23.1.dll

NuGet Package: DevExpress.Wpf.RichEdit


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


Name Type Description
fileName String

A string that is the name of the file 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