LoadLayout(Stream) Method
This overload has been deprecated. Please use the new LoadLayout(XmlReader) overload.
public void LoadLayout(
Stream
)
'Declaration
Public Overloads Sub LoadLayout( _
ByVal As Stream _
)
Parameters
- stream
A stream that contains a valid report XML layout.
SectionReport sectionReport = new SectionReport();
using (XmlTextReader reader = new XmlTextReader("Report.rpx"))
{
sectionReport.LoadLayout(reader);
}
sectionReport.Document.Printer.PrinterName = String.Empty;
viewer.LoadDocument(sectionReport);