ActiveReports 19 .NET Edition
MESCIUS.ActiveReports Assembly / GrapeCity.ActiveReports.Document Namespace / SectionDocument Class / Load Method / Load(Stream) Method
The stream used to load the document.
Example

In This Topic
    Load(Stream) Method
    In This Topic
    Loads the document from the specified stream.
    Syntax
    'Declaration
     
    Public Overloads Sub Load( _
       ByVal stream As Stream _
    ) 
    public void Load( 
       Stream stream
    )

    Parameters

    stream
    The stream used to load the document.
    Example
    using (var stream = File.Open("Document.rdf", FileMode.Open, FileAccess.Read, FileShare.None))
    {
    	var document = new GrapeCity.ActiveReports.Document.SectionDocument();
    	document.Load(stream);
    }
    See Also