Enum
PrintMode

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:

cs-api-definition
public enum PrintMode

Fields

AutoSelect

Automatically determines the best printing method by evaluating browser capabilities and selecting between PDF plugin or file export.

Declaration

cs-api-definition
AutoSelect = 0

Field Value

PrintMode

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

cs-api-definition
ForcePDFFile = 2

Field Value

PrintMode

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

cs-api-definition
ForcePDFPlugin = 1

Field Value

PrintMode

Remarks

Ensures PDF plugin usage but may fail if the plugin is not available or properly configured in the user's browser.

In this article
DefinitionFieldsAutoSelectForcePDFFileForcePDFPlugin
Not finding the help you need?
Contact Support