Visual Basic (Declaration) | |
---|---|
Public Property Document As Document |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public Document Document {get; set;} |
Return Value
A Document value that represents the current document displayed in the viewer.C# | Copy Code |
---|---|
private void Form1_Load(object
sender, System.EventArgs e) |
Visual Basic | Copy Code |
---|---|
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load |
The Document can be assigned from an ActiveReport.Document before running the report using the ActiveReport.Run(true) method and pages will be synchronized and display in the viewer immediately after the report renders them.
In addition, the Document can be set to the report's Document after it is completed.