[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Viewer.Wpf.Viewer.LoadDocument

LoadDocument Method

LoadDocument(Stream, DocumentFormat)

Loads the document from a stream.

Declaration
public void LoadDocument(Stream stream, DocumentFormat format)
Parameters
Type Name Description
Stream stream

The stream containing the report. Note: The Page report with master file should contain the full path to the master file.

DocumentFormat format

The document format.

LoadDocument(string)

Loads a report from the specified file path.

Declaration
public void LoadDocument(string filePath)
Parameters
Type Name Description
string filePath

The file to load.

Exceptions
Type Condition
ArgumentNullException

Thrown if the filePath is null or empty.

LoadDocument(IDocumentLoader)

Loads a report from the specified IDocumentLoader parameter.

Declaration
public void LoadDocument(IDocumentLoader parameter)
Parameters
Type Name Description
IDocumentLoader parameter

The document loader parameter.

LoadDocument(PageDocument)

Loads the specified page document.

Declaration
public void LoadDocument(PageDocument pageDocument)
Parameters
Type Name Description
PageDocument pageDocument

The page document to load.

LoadDocument(PageReport)

Loads the specified page report.

Declaration
public void LoadDocument(PageReport pageReport)
Parameters
Type Name Description
PageReport pageReport

The page report to load.

LoadDocument(SectionReport)

Loads the specified section report.

Declaration
public void LoadDocument(SectionReport report)
Parameters
Type Name Description
SectionReport report

The section report to load.

LoadDocument(SectionDocument)

Loads the specified section document.

Declaration
public void LoadDocument(SectionDocument document)
Parameters
Type Name Description
SectionDocument document

The section document to load.