ActiveReports 8
Duplex Property
See Also  Example
GrapeCity.ActiveReports.v8 Assembly > GrapeCity.ActiveReports Namespace > PageSettings Class : Duplex Property

Glossary Item Box

Gets or sets the report document setting for double-sided printing.

Syntax

Visual Basic (Declaration) 
Public Property Duplex As System.Drawing.Printing.Duplex
C# 
public System.Drawing.Printing.Duplex Duplex {get; set;}

Property Value

A System.Drawing.Duplex enumeration value.  The default value is determined by the value of System.Drawing.Printing.Duplex.Default.

Example

C#Copy Code
private void rptPageSettings_ReportStart(object sender, System.EventArgs eArgs)
{
    this.PageSettings.Duplex = System.Drawing.Printing.Duplex.Default;
}
Visual BasicCopy Code
Private Sub rptPageSettings_ReportStart(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.ReportStart
   Me.PageSettings.Duplex = Drawing.Printing.Duplex.Default
End Sub

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also