ActiveReports Developer 7
Load(String) Method
See Also  Example
GrapeCity.ActiveReports.Document.v7 Assembly > GrapeCity.ActiveReports.Document Namespace > SectionDocument Class > Load Method : Load(String) Method

fileName
Document file name.

Glossary Item Box

Loads a document from the specified file.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub Load( _
   ByVal fileName As System.String _
) 
C# 
public void Load( 
   System.string fileName
)

Parameters

fileName
Document file name.

Example

C#Copy Code
private void btnLoad_Click(object sender, System.EventArgs e)
{
    arv.Document.Load(Application.StartupPath + "\\Document.rdf");
}
Visual BasicCopy Code
Private Sub btnLoad_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click
    arv.Document.Load(Application.StartupPath & "\Document.rdf")
End Sub

See Also