ActiveReports Developer 7
Duplex Property
See Also  Example
GrapeCity.ActiveReports.v7 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

See Also