'Declaration Public Overloads Sub LoadDocument( _ ByVal report As SectionReport _ )
public void LoadDocument( SectionReport report )
Parameters
- report
The section report to view in the viewer.
The section report to view in the viewer.
'Declaration Public Overloads Sub LoadDocument( _ ByVal report As SectionReport _ )
public void LoadDocument( SectionReport report )
The section report to view in the viewer.
// Assuming 'viewer' is an instance of the Viewer control and 'reportPath' is the path to the .rpx file var report = new SectionReport(); report.LoadLayout(XmlReader.Create(reportPath)); report.Document.Printer.PrinterName = string.Empty; viewer.LoadDocument(report);