Visual Basic (Declaration) | |
---|---|
Public Property PaperKind As PaperKind |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public PaperKind PaperKind {get; set;} |
Return Value
A System.Drawing.Printing.PaperKind enumeration value that determines the paper size to use.C# | Copy Code |
---|---|
private void rptPageSettings_ReportStart(object sender, System.EventArgs eArgs) |
Visual Basic | Copy Code |
---|---|
Private Sub rptPageSettings_ReportStart(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.ReportStart |
To use custom paper sizes, you must set the PaperKind property to Custom and the PaperName property to a unique string.