Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

NuGet Package: DevExpress.Wpf.RichEdit

#Declaration

public void ExportToPdf(
    string fileName,
    PdfExportOptions pdfExportOptions
)

#Parameters

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.

#Remarks

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

See Also