Home/ Reference/ Page

page.SizeHeight

Page height, same rules. Note that CDR's Y axis points up, so Top is a larger number than Bottom.

Signature

page.SizeHeight

Notes

Page height, same rules. Note that CDR's Y axis points up, so Top is a larger number than Bottom.

Python example (runnable)

Requires pywin32. The example assumes app / doc / page / layer are already connected. See Connection & Init
Python
page = doc.ActivePage

page.SizeHeight = 297 / 25.4       # 297mm
print("New page height: ", page.SizeHeight)

About this section: Page

Page — pages and page setup.

Other entries in this section