Skip to main content

RichEditControl.ExportToPdf(String, PdfCreationOptions, PdfSaveOptions) Method


Use the 'ExportToPdf' method instead.

Exports the content of the RichEditControl to the specified stream in PDF format, applying options for creating and saving.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.XtraRichEdit.v24.1.dll

NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.RichEdit, DevExpress.Win.TreeMap


[Obsolete("Use the 'RichEditControl.ExportToPdf(string fileName, PdfExportOptions pdfExportOptions)' method instead.", false)]
public void ExportToPdf(
    string fileName,
    PdfCreationOptions creationOptions,
    PdfSaveOptions saveOptions


Name Type Description
fileName String

A string that is the name of the file, to which the created document is exported.

creationOptions PdfCreationOptions

A PdfCreationOptions object.

saveOptions PdfSaveOptions

A PdfSaveOptions object.


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

See Also