ActiveReports 8
Load(String) Method
See Also  Example
GrapeCity.ActiveReports.Document.v8 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

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also