See Also

ActiveReport Class  | ActiveReport Members  | PageSettings Class

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports Send feedback to Data Dynamics

PageSettings Property

Returns a reference to the current report's page settings. 

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

Return Type

Default PageSettings object.

Remarks

Used to specify settings that modify the way the report's pages will be printed.

Example

[C#] 

private void arv_Load(object sender, System.EventArgs e) 

    rptDataDynamics rpt = new rptDataDynamics(); 
    rpt.PageSettings.Orientation = DataDynamics.ActiveReports.Document.PageOrientation.Landscape; 
    rpt.Run(); 
    this.arv.Document = rpt.Document; 
}

[Visual Basic] 

Private Sub Viewer1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Viewer1.Load
    Dim rpt As New rptDD
    rpt.PageSettings.Orientation = DataDynamics.ActiveReports.Document.PageOrientation.Landscape
    rpt.Run()
    Me.Viewer1.Document = rpt.Document
End Sub

See Also

ActiveReport Class  | ActiveReport Members  | PageSettings Class

 

 


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