ActiveReports 6 Online Help
Document Property (ActiveReport)
Example 

Gets a reference to the report output Document object.
Syntax
'Declaration
 
Public ReadOnly Property Document As Document
public Document Document {get;}

Property Value

Generated Document object, null if the report has not been executed.
Remarks
The Document class is in the ActiveReports.Viewer.DLL assembly in the DataDynamics.ActiveReports.Document namespace.
Example
private void formReport_Load(object sender, System.EventArgs e)
{    
    rptMain rpt = new rptMain();    
    this.viewer1.Document = rpt.Document;    
    rpt.Run();
}
Private Sub formReport_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load    
    Dim rpt As New rptMain()    
    Viewer1.Document = rpt.Document    
    rpt.Run()
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

Reference

ActiveReport Class
ActiveReport Members
Document

Send Feedback