See Also

PageSettings Class  | PageSettings Members  | PageOrientation enumeration

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports Send feedback to Data Dynamics

Orientation Property

Gets or sets a value that specifies whether the document pages should be printed in portrait or landscape. 

[Visual Basic]
Public Property Orientation As PageOrientation
[C#]
public PageOrientation Orientation {get; set;}

Return Type

A DataDynamics.ActiveReports.Document.PageOrientation enumeration value that specifies the orientation of the document pages.

Example

[C#] 

private void rptPageSettings_ReportStart(object sender, System.EventArgs eArgs) 

    this.PageSettings.Orientation = PageOrientation.Default; 
}

[Visual Basic] 

Private Sub rptPageSettings_ReportStart(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.ReportStart
   Me.PageSettings.Orientation = PageOrientation.Default
End Sub

See Also

PageSettings Class  | PageSettings Members  | PageOrientation enumeration

 

 


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