Sets or returns an int that represents the page height for this section in twips. One twip = (1/20 pt) or (1/1440 in)

<table class="wysiwyg-macro" data-macro-name="unmigrated-wiki-markup" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e3VubWlncmF0ZWQtd2lraS1tYXJrdXB9&amp;locale=en_GB&amp;version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre>
 public int PageHeight{ get; set; }
</pre></td></tr></table>
<p>Public Property PageHeight() As Integer</p>

Page height may not be smaller than .1" (144 twips) or larger than 22" (31680 twips). Values beyond these will be automatically adjusted.

MS Word equivalent: File menu > Page Setup... > Paper tab > Paper size: section > Height: -- (Make sure Apply to: This section is selected)


          //--- Return PageHeight
          int pageHeight = oSection.PageHeight;

          //--- Set PageHeight to 11 inches
          oSection.PageHeight = 15840;
        

          '--- Return PageHeight
          Dim pageHeight As Integer = oSection.PageHeight

          '--- Set PageHeight to 11 inches
          oSection.PageHeight = 15840