Returns or sets the height of the page for the whole document or for a document's section. The SectionCurrent property determines the part of the document. The property returns -1, if more than one section is specified through the SectionCurrent property and these sections' pages have a different height.
TXTextControl.PageHeight [= value]
See PrintPage method example.