The PageManager takes page size input from the user and matches the dimensions to the best available page size in the form of one of the page size enumerators.
'-- Assumes that the active doc is a layout with included graphics
aPoint=Point.Make(7,10) 'the page size is 7 by 10 units
msgbox.info(aPoint.asstring,"The page size is:")
msgbox.info((PageManager.FindSize(aPoint).asstring),"The enumerator used is:")
Get help from ArcGIS experts
Download the Esri Support App