Skip to main content

RichEditControl.ExportToPdf(String) Method

Exports the document content to the specified file path in PDF format.

Namespace: DevExpress.Xpf.RichEdit

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

NuGet Package: DevExpress.Wpf.RichEdit

Declaration

public void ExportToPdf(
    string fileName
)

Parameters

Name Type Description
fileName String

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

Remarks

The following code snippet exports the RichEditControl’s document to the PDF file:

richeditControl1.ExportToPdf("Exported_String_Options_Document.pdf");

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

See Also