Gets or sets a value indicating whether to display multiple pages in the viewer.
Syntax
Visual Basic (Declaration) | |
---|
Public Property MultiplePageMode As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As ReportViewerObject
Dim value As Boolean
instance.MultiplePageMode = value
value = instance.MultiplePageMode
|
C# | |
---|
public bool MultiplePageMode {get; set;} |
Return Value
A Boolean value.
True if the viewer is displaying multiple pages at a time in rows and columns; otherwise,
False. The default value is
False.
Example
This snippet will show the first two pages of the report side by side.
C# | Copy Code |
---|
arv.ReportViewer.MultiplePageMode = true;
arv.ReportViewer.MultiplePageCols = 2;
arv.ReportViewer.MultiplePageRows = 1; |
Visual Basic | Copy Code |
---|
arv.ReportViewer.MultiplePageMode = True
arv.ReportViewer.MultiplePageCols = 2
arv.ReportViewer.MultiplePageRows = 1 |
See Also