IPrinter.PageHeight
IPrinter
property PageHeight: Integer;
Type Library
TeeChartx
Description
PageHeight returns the page height of the active printer. Use with the PageWidth property and PrinterPartial . to print a Chart proportionally to the available size of the Printer's page.
Example [Visual Basic]:
Private Sub Command2_Click()
With TChart1.Printer
.Orientation = poLandscape
.BeginDoc
.PrintPartial 0, 0, .PageWidth / 2, .PageHeight
End With
With TChart2.Printer
.PrintPartial .PageWidth / 2, 0, .PageWidth, .PageHeight
.EndDoc
End With
End Sub