See Also

ReportViewerObject Class  | ReportViewerObject Members  | ViewType Enumeration

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports.Viewer Send feedback to Data Dynamics

ViewType Property

Gets or sets a value that determines whether the viewer shows pages in Normal or ContinuousScroll mode.

[Visual Basic]
Public Property ViewType As ViewType
[C#]
public ViewType ViewType {get; set;}

Example

[Visual Basic] 

Private Sub arv_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles arv.Load
    arv.ReportViewer.ViewType = DataDynamics.ActiveReports.Viewer.ViewType.ContinuousScroll
    Dim rpt As New rptDD
    rpt.Run()
    arv.Document = rpt.Document
End Sub

[C#] 

private void arv_Load(object sender, System.EventArgs e)  
{  
    arv.ReportViewer.ViewType = DataDynamics.ActiveReports.Viewer.ViewType.ContinuousScroll; 
    rptDD rpt = new rptDD();  
    rpt.Run();  
    arv.Document = rpt.Document;  
}  

See Also

ReportViewerObject Class  | ReportViewerObject Members  | ViewType Enumeration

 

 


Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.