ActiveReports 9
Document Property (SectionReport)
Example 

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

Property Value

Generated Document object, null if the report has not been executed.
Remarks
The SectionDocument class is in the GrapeCity.ActiveReports.Document.v9 assembly in the GrapeCity.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
See Also

Reference

SectionReport Class
SectionReport Members
SectionDocument Class

 

 


Copyright © 2016 GrapeCity, inc. All rights reserved

Support Forum