• Global community
    • Language:
      • Deutsch
      • English
      • EspaƱol
      • FranƧais
      • PortuguĆŖs
  • ę—„ęœ¬čŖžć‚³ćƒŸćƒ„ćƒ‹ćƒ†ć‚£
    Dedicated community for Japanese speakers
  • ķ•œźµ­ ģ»¤ė®¤ė‹ˆķ‹°
    Dedicated community for Korean speakers
Exit
0

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

Explorer ,
Jul 06, 2020 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

131

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
community guidelines
Community Expert ,
Jul 06, 2020 Jul 06, 2020

Copy link to clipboard

Copied

LATEST

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

Votes

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
community guidelines