The requested page is not available for the requested platform. You are viewing the content for Default platform.

WebReportsController.ExportToPdfAction Property

Gets the PrintReportTo_Pdf Action.

Namespace: DevExpress.ExpressApp.ReportsV2.Web

Assembly: DevExpress.ExpressApp.ReportsV2.Web.v19.1.dll


public SimpleAction ExportToPdfAction { get; }
Public ReadOnly Property ExportToPdfAction As SimpleAction

Property Value

Type Description

A SimpleAction object that specifies the PrintReportTo_Pdf Action.


The PrintReportTo_Pdf Action exports the report to a PDF file and initiates file download. This Action is not visible by default. To activate it, set the ReportsAspNetModuleV2.ShowFormatSpecificExportActions property to true. You can also execute this Action instead of WebReportsController.PreviewInReportViewerAction by setting the ReportsAspNetModuleV2.DefaultPreviewFormat property to Pdf. These properties can be specified in the Module Designer or in the Application Designer when the ReportsAspNetModuleV2 component is focused.

See Also