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 Basic | Copy 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