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.XtraRichEdit

Assembly: DevExpress.XtraRichEdit.v20.1.dll


public void ExportToPdf(
    string fileName,
    PdfExportOptions pdfExportOptions
Public Sub ExportToPdf(
    fileName As String,
    pdfExportOptions As 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