Highlighted

Get Page size for every page in a document in C++

Explorer ,
Jul 06, 2020

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 

TOPICS
SDK

Views

58

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Get Page size for every page in a document in C++

Explorer ,
Jul 06, 2020

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 

TOPICS
SDK

Views

59

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jul 06, 2020 0
Adobe Community Professional ,
Jul 06, 2020

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 06, 2020 1