PaperHeight Property (PageSettings)
Gets or sets a value that specifies the height of a custom paper size.
public float PaperHeight {get; set;}
'Declaration
Public Property PaperHeight As Single
Property Value
A float value that specifies the custom paper height in inches.
private void rptPageSettings_ReportStart(object sender, System.EventArgs eArgs)
{
this.PageSettings.PaperHeight = 11.0f;
this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Custom;
this.PageSettings.PaperWidth = 8.5f;
}
Private Sub rptPageSettings_ReportStart(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.ReportStart
Me.PageSettings.PaperHeight = 11.0F
Me.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Custom
Me.PageSettings.PaperWidth = 8.5F
End Sub