'Declaration Public Overloads Sub LoadDocument( _ ByVal pageDocument As PageDocument _ )
public void LoadDocument( PageDocument pageDocument )
Parameters
- pageDocument
The page report to open in the viewer.
The page report to open in the viewer.
'Declaration Public Overloads Sub LoadDocument( _ ByVal pageDocument As PageDocument _ )
public void LoadDocument( PageDocument pageDocument )
The page report to open in the viewer.
// Assuming 'viewer' is an instance of the Viewer control var pageReport = new PageReport(); pageReport.Load(new FileInfo(@"path/to/report.rdlx")); var pageDocument = pageReport.Document; viewer.LoadDocument(pageDocument);