See Also

ActiveReport Class  | ActiveReport Members  | Document

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports Send feedback to Data Dynamics

Document Property

Returns a reference to the report output Document object.

[Visual Basic]
Public ReadOnly Property Document As Document
[C#]
public Document Document {get;}

Return Type

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

[C#] 

private void Form1_Load(object sender, System.EventArgs e) 
{     
    rptMain rpt = new rptMain();     
    this.viewer1.Document = rpt.Document;     
    rpt.Run(); 
}

[Visual Basic] 

Private Sub Form1_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

See Also

ActiveReport Class  | ActiveReport Members  | Document

 

 


Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.