Represents a viewer for Report instances. The viewer provides viewing, printing, scaling, page layout and search support.
Namespace: MindFusion.Reporting.Silverlight
Assembly: MindFusion.Reporting.Silverlight
C# Copy Code |
---|
public class ReportViewer : Control |
Visual Basic Copy Code |
---|
Public Class ReportViewer |
This control can be used to display ready reports in a presentable manner. The viewer provides zooming, panning, several page layouts, page navigation and text search.
To display a Report within the viewer, assign it to the Document property. The assigned report is usually expected to be already run by a call to its Run method. It is possible to set a report, which is not run, but the viewer will display nothing until after the report is run. The page size and layout can be modified through several properties - PageSize, PageView, PageOrientation and PageMargins. The zoom factor and the currently displayed page can be get or set through the CurrentZoom and CurrentPage properties respectively.
System.Object
System.Windows.DependencyObject
System.Windows.UIElement
System.Windows.FrameworkElement
System.Windows.Controls.Control
MindFusion.Reporting.Silverlight.ReportViewer