[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Document.SectionDocument.Load

Load Method

Load(Stream)

Loads the document from the specified stream.

Declaration
public void Load(Stream stream)
Parameters
Type Name Description
Stream stream

The stream used to load the document.

Examples
using (var stream = File.Open("Document.rdf", FileMode.Open, FileAccess.Read, FileShare.None))
{
	var document = new GrapeCity.ActiveReports.Document.SectionDocument();
	document.Load(stream);
}

Load(string)

Loads the document from the specified RDF file.

Declaration
public void Load(string fileName)
Parameters
Type Name Description
string fileName

The RDF file used to load the document.

Examples
var document = new GrapeCity.ActiveReports.Document.SectionDocument();
document.Load("Document.rdf");