CodeCharge Studio All C#.NET VB.NET

ViewMode Run-Time Property (.NET)

Applies to

Report Form

Syntax

C#.NET

public virtual ReportViewMode ViewMode{get;set;}

VB.NET

Public Overridable Property ViewMode() As ReportViewMode

Description

Retrieves or sets the current view mode of the report.
 
Type Description
Print  The report will be displayed in Print mode.
Web  The report will be displayed in Web view mode.

Examples

C#.NET

Report1.ViewMode = ReportViewMode.Print;

VB.NET

Report1.ViewMode = ReportViewMode.Print

See also

PageSizeLimit Property,PageSize Property,WebPageSize Property


On-line, printable versions and updates