Gets or sets the paper source used to print the report document pages.
Syntax
Visual Basic (Declaration) | |
---|
Public Property PaperSource As System.Drawing.Printing.PaperSourceKind |
C# | |
---|
public System.Drawing.Printing.PaperSourceKind PaperSource {get; set;} |
Property Value
A System.Drawing.Printing.PaperSourceKind enumeration value that specifies the paper source.
Example
C# | Copy Code |
---|
private void rptPageSettings_ReportStart(object sender, System.EventArgs eArgs)
{
this.PageSettings.PaperSource = System.Drawing.Printing.PaperSourceKind.Manual;
} |
Visual Basic | Copy Code |
---|
Private Sub rptPageSettings_ReportStart(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.ReportStart
Me.PageSettings.PaperSource = System.Drawing.Printing.PaperSourceKind.Manual
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