EnumPrintMode
Specifies the printing method options for the MVC Report Viewer control. Used to configure how the report viewer handles print operations and determines the optimal printing mechanism based on browser capabilities and requirements.
Definition
Namespace:Telerik.ReportViewer.Mvc
Assembly:Telerik.ReportViewer.Mvc.dll
Syntax:
public enum PrintMode
Fields
AutoSelect
Automatically determines the best printing method by evaluating browser capabilities and selecting between PDF plugin or file export.
Declaration
AutoSelect = 0
Field Value
Remarks
Recommended option that intelligently chooses between browser PDF plugin and file export based on browser support and configuration.
ForcePDFFile
Forces export of the report to PDF format with embedded print script for automatic printing when the PDF is opened.
Declaration
ForcePDFFile = 2
Field Value
Remarks
Generates a PDF file with print script that triggers printing when opened, providing compatibility across all browsers.
ForcePDFPlugin
Forces the use of the browser's PDF plugin for printing regardless of browser version, settings, or plugin availability.
Declaration
ForcePDFPlugin = 1
Field Value
Remarks
Ensures PDF plugin usage but may fail if the plugin is not available or properly configured in the user's browser.