SpreadsheetControl.ExportToPdf(Stream, PdfExportOptions) Method

Exports the content of the SpreadsheetControl to the specified stream in PDF format using the specified options.

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.XtraSpreadsheet.v21.2.dll

Declaration

public void ExportToPdf(
    Stream stream,
    PdfExportOptions pdfExportOptions
)

Parameters

Name Type Description
stream Stream

A Stream object, to which the created document is exported.

pdfExportOptions PdfExportOptions

A PdfExportOptions object which specifies the PDF export options.

Remarks

Refer to the Export to PDF document to learn about PDF export features and limitations.

See Also