CardViewExtension.ExportToPdf(CardViewSettings, Object, Boolean, PdfExportOptions) Method
In This Article
Exports the CardView’s data to PDF format, based on the provided settings.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public static ActionResult ExportToPdf(
CardViewSettings settings,
object dataObject,
bool saveAsFile,
PdfExportOptions exportOptions
)
#Parameters
Name | Type | Description |
---|---|---|
settings | Card |
A Card |
data |
Object | An object representing the Card |
save |
Boolean | true to display the File Download dialog; false to display the file with exported data on a page. |
export |
Pdf |
A Pdf |
#Returns
Type | Description |
---|---|
Action |
A System. |
See Also