Back to Devexpress

RichEditControl.ExportToPdf(Stream, PdfCreationOptions, PdfSaveOptions) Method

windowsforms-devexpress-dot-xtrarichedit-dot-richeditcontrol-dot-exporttopdf-x28-system-dot-io-dot-stream-devexpress-dot-pdf-dot-pdfcreationoptions-devexpress-dot-pdf-dot-pdfsaveoptions-x29.md

latest2.6 KB
Original Source

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

NuGet Package : DevExpress.Win.RichEdit

Declaration

csharp
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("Use the 'RichEditControl.ExportToPdf(Stream stream, PdfExportOptions pdfExportOptions)' method instead.", false)]
public void ExportToPdf(
    Stream stream,
    PdfCreationOptions creationOptions,
    PdfSaveOptions saveOptions
)
vb
<Obsolete("Use the 'RichEditControl.ExportToPdf(Stream stream, PdfExportOptions pdfExportOptions)' method instead.", False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Sub ExportToPdf(
    stream As Stream,
    creationOptions As PdfCreationOptions,
    saveOptions As PdfSaveOptions
)

Parameters

NameTypeDescription
streamStream

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

RichEditControl Class

RichEditControl Members

DevExpress.XtraRichEdit Namespace