Gets page height for current section.
This method doesn't have any parameters.
builder.CreateFile("docx"); var oDocument = Api.GetDocument(); var oParagraph = oDocument.GetElement(0); var oSection = oDocument.GetFinalSection(); var nHeight = oSection.GetPageHeight(); oParagraph.AddText("Page height = " + nHeight); builder.SaveFile("docx", "GetPageHeight.docx"); builder.CloseFile();