ReportViewer.SetDisplayMode Method (DisplayMode)
Sets the control display to normal or print preview mode.
Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)
Syntax
public void SetDisplayMode(
DisplayMode mode
)
public:
void SetDisplayMode(
DisplayMode mode
)
member SetDisplayMode :
mode:DisplayMode -> unit
Public Sub SetDisplayMode (
mode As DisplayMode
)
Parameters
mode
Type: Microsoft.Reporting.WinForms.DisplayModeA DisplayMode enumeration value specifying which display mode to use. Valid values are Normal or PrintLayout.
See Also
ReportViewer Class
Microsoft.Reporting.WinForms Namespace
Return to top