A newer version of this page is available. Switch to the current version.

ASPxRichEdit.ExportToPdf(Stream, PdfExportOptions) Method

Exports the current document to the specified stream in PDF format using the specified options.

Namespace: DevExpress.Web.ASPxRichEdit

Assembly: DevExpress.Web.ASPxRichEdit.v18.2.dll


public void ExportToPdf(
    Stream stream,
    PdfExportOptions pdfExportOptions
Public Sub ExportToPdf(
    stream As Stream,
    pdfExportOptions As PdfExportOptions


Name Type Description
stream Stream

A Stream object, to which the document is exported.

pdfExportOptions PdfExportOptions

A PdfExportOptions object which specifies the export options to be applied when the control's document is exported.

See Also