ActiveReports 14 .NET Edition
GrapeCity.ActiveReports.Viewer.Win Assembly / GrapeCity.ActiveReports.Viewer.Win Namespace / Viewer Class / LoadDocument Method / LoadDocument(Stream,DocumentFormat) Method
The System.IO.Stream to load the report from.
Specify the format of report to be loaded.

In This Topic
    LoadDocument(Stream,DocumentFormat) Method
    In This Topic
    Loads a document from a stream in the specified binary or XML report format.
    Syntax
    'Declaration
     
    Public Overloads Sub LoadDocument( _
       ByVal stream As Stream, _
       ByVal format As DocumentFormat _
    ) 
    public void LoadDocument( 
       Stream stream,
       DocumentFormat format
    )

    Parameters

    stream
    The System.IO.Stream to load the report from.
    format
    Specify the format of report to be loaded.
    See Also