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

RichEditControl.ExportToPdf(String, PdfCreationOptions, PdfSaveOptions) Method

OBSOLETE

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.Xpf.RichEdit

Assembly: DevExpress.Xpf.RichEdit.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.RichEdit, DevExpress.Wpf.RichEdit

Declaration

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

Parameters

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.

Remarks

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

See Also