Skip to main content

RichEditControl.ExportToPdf(String, PdfExportOptions) Method

Exports the content of the RichEditControl to the specified file path in PDF format, applying PDF-specific options.

Namespace: DevExpress.Xpf.RichEdit

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

NuGet Package: DevExpress.Wpf.RichEdit


public void ExportToPdf(
    string fileName,
    PdfExportOptions pdfExportOptions


Name Type Description
fileName String

A String which specifies the file name (including the full path) for the created PDF file.

pdfExportOptions PdfExportOptions

A PdfExportOptions object which specifies the PDF export options.


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

See Also