Copy link to clipboard
Copied
Hello All,
I would like to loop through all pages in a document and get the page size.
Appreciate your suggestions and help
Copy link to clipboard
Copied
The kDocBoss class has an interface IPageList that is a collection of all the pages in the document(not the masterpages). You can iterate the pages using this interface, for each iteration you can get the page UID using the method GetNthPageUID. Using the UID you can get the object of kPageBass which has the IGeometry interface which will give you the bounding box of the page
-Manan