Parameters
- stream
A stream that contains a valid report XML layout.
- errors
An array containing any errors that occur during LoadLayout.
A stream that contains a valid report XML layout.
An array containing any errors that occur during LoadLayout.
This overload has been deprecated. Please use the new LoadLayout(XmlReader) overload.
A stream that contains a valid report XML layout.
An array containing any errors that occur during LoadLayout.
SectionReport sectionReport = new SectionReport(); using (XmlTextReader reader = new XmlTextReader("Report.rpx")) { sectionReport.LoadLayout(reader, out System.Collections.ArrayList error); } sectionReport.Document.Printer.PrinterName = String.Empty; viewer.LoadDocument(sectionReport);