Share via


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

See Also

ReportViewer Class
Microsoft.Reporting.WinForms Namespace

Return to top