ActiveReports3 Request technical support
Orientation Property
See Also  Example


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

Syntax

Visual Basic (Declaration) 
Public Property Orientation As PageOrientation
Visual Basic (Usage)Copy Code
Dim instance As PageSettings
Dim value As PageOrientation
 
instance.Orientation = value
 
value = instance.Orientation
C# 
public PageOrientation Orientation {get; set;}

Return Value

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

Example

C#Copy Code
private void rptPageSettings_ReportStart(object sender, System.EventArgs eArgs)
{
   
this.PageSettings.Orientation = PageOrientation.Default;
}
Visual BasicCopy Code
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