Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RichEditControl.ExportToPdf(Stream, 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.XtraRichEdit

Assembly: DevExpress.XtraRichEdit.v24.2.dll

NuGet Package: DevExpress.Win.RichEdit

#Declaration

[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("Use the 'RichEditControl.ExportToPdf(Stream stream, PdfExportOptions pdfExportOptions)' method instead.", false)]
public void ExportToPdf(
    Stream stream,
    PdfCreationOptions creationOptions,
    PdfSaveOptions saveOptions
)

#Parameters

Name Type Description
stream Stream

A Stream object, 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