ActiveReports Developer 7
Document Property
See Also  Example
GrapeCity.ActiveReports.v7 Assembly > GrapeCity.ActiveReports.Data Namespace > XMLDataSource Class : Document Property

Glossary Item Box

Returns a reference to the loaded XmlDocument that is used as the data source.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property Document As System.Xml.XmlDocument
C# 
public System.Xml.XmlDocument Document {get;}

Example

C#Copy Code
Private void rpt_ReportStart(object sender, System.EventArgs eArgs)
{
    System.Windows.Forms.MessageBox.Show (this.ds.Document.BaseURI.ToString());
}
Visual BasicCopy Code
Private Sub rpt_ReportStart(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.ReportStart
    MsgBox(Me.ds.Document.BaseURI.ToString)
End Sub

See Also