SpreadsheetControl.ExportToPdf(String, PdfExportOptions) Method

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

Namespace: DevExpress.Xpf.Spreadsheet

Assembly: DevExpress.Xpf.Spreadsheet.v20.1.dll

Declaration

public void ExportToPdf(
    string fileName,
    PdfExportOptions options
)
Public Sub ExportToPdf(
    fileName As String,
    options As PdfExportOptions
)

Parameters

Name Type Description
fileName String

A String which specifies the name (including the full path) of the PDF file to which the data is exported.

options 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