Skip to main content
A newer version of this page is available.
All docs
V19.1
.NET Framework 4.5.2+
  • The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.

RichEditDocumentServer.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.RichEdit.v19.1.Core.dll

Declaration

[Obsolete("Use the 'RichEditDocumentServer.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.

Note

If an application is hosted on Microsoft Azure, set the AzureCompatibility.Enable property to true. Refer to the How to resolve issues with unexpected output content of Printing, Reporting, RichEditDocumentServer, PDF libraries on Azure Web Site article for more information.

See Also