ActiveReports 15 .NET Edition
GrapeCity.ActiveReports.Document Assembly / GrapeCity.ActiveReports.Document Namespace / SectionDocument Class / Load Method / Load(String) Method
Document file name.
Example

In This Topic
    Load(String) Method
    In This Topic
    Loads a document from the specified file.
    Syntax
    'Declaration
     
    Public Overloads Sub Load( _
       ByVal fileName As String _
    ) 
    public void Load( 
       string fileName
    )

    Parameters

    fileName
    Document file name.
    Example
    private void btnLoad_Click(object sender, System.EventArgs e)
    {
        arv.Document.Load(Application.StartupPath + "\\Document.rdf");
    }
    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