ActiveReports 8
Document Property
See Also  Example
GrapeCity.ActiveReports.v8 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

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