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


[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