SpreadsheetControl.ExportToPdf(String, PdfExportOptions) Method
In This Article
Exports the content of the SpreadsheetControl to the specified file in PDF format using the specified options.
Namespace: DevExpress.XtraSpreadsheet
Assembly: DevExpress.XtraSpreadsheet.v24.2.dll
NuGet Package: DevExpress.Win.Spreadsheet
#Declaration
public void ExportToPdf(
string fileName,
PdfExportOptions pdfExportOptions
)
#Parameters
Name | Type | Description |
---|---|---|
file |
String | A String which specifies the name (including the full path) of the PDF file to which the data is exported. |
pdf |
Pdf |
A Pdf |
#Remarks
Refer to the Export to PDF document to learn about PDF export features and limitations.
See Also