Skip to main content
A newer version of this page is available. .

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.RichEdit, 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