Enum
PrintMode

Specifies the print handling strategy options for the HTML5 WebForms ReportViewer control. Used to determine how the viewer processes print commands and handles PDF generation for optimal printing experience across different browsers and environments.

Definition

Namespace:Telerik.ReportViewer.Html5.WebForms

Assembly:Telerik.ReportViewer.Html5.WebForms.dll

Syntax:

cs-api-definition
public enum PrintMode

Fields

AutoSelect

Automatically determines the optimal print method by choosing between browser PDF plugin or PDF file export based on browser capabilities and settings.

Declaration

cs-api-definition
[EnumMember(Value = "AUTO_SELECT")]
AutoSelect = 0

Field Value

PrintMode

Remarks

Provides intelligent selection of print method to ensure compatibility across different browsers and PDF plugin configurations in HTML5 environments.

ForcePDFFile

Forces the export of the report document to PDF format with print script enabled for download-based printing.

Declaration

cs-api-definition
[EnumMember(Value = "FORCE_PDF_FILE")]
ForcePDFFile = 2

Field Value

PrintMode

Remarks

Generates a downloadable PDF file with embedded print script for environments where PDF plugins are unavailable or unreliable.

ForcePDFPlugin

Forces the use of the browser's PDF plugin for printing regardless of browser version and configuration settings.

Declaration

cs-api-definition
[EnumMember(Value = "FORCE_PDF_PLUGIN")]
ForcePDFPlugin = 1

Field Value

PrintMode

Remarks

Ensures consistent PDF plugin usage for direct browser printing when plugin availability and compatibility are guaranteed.

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