| Visual Basic (Declaration) | |
|---|---|
Public Property PaperHeight As Single | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public float PaperHeight {get; set;} | |
Return Value
A float value that specifies the custom paper height in inches.| 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 | |
Set the PaperKind property to PaperKind.Custom to use this property. Custom paper sizes must be supported by the printer for this property to work.