Copy link to clipboard
Copied
Hi
How can I get all UID of page, which contains a page item with a specified UID?
E.g.: I like to have both UID of pages if a page item is place on two pages.
Thanks
Hans
Jongware probably mixes the problem up with page items on master spreads.
I think you're talking about page items that possibly span multiple pages of a spread.
ILayoutUtils::GetOwnerPageUID is a good start.
If you need more details, iterate the pages of your spread and match their bounding box to the page item's bounding box.
Dirk
Copy link to clipboard
Copied
... if a page item is place on two pages. ...
Is that even possible? I would think all copies get a fresh UID ...
Copy link to clipboard
Copied
Jongware probably mixes the problem up with page items on master spreads.
I think you're talking about page items that possibly span multiple pages of a spread.
ILayoutUtils::GetOwnerPageUID is a good start.
If you need more details, iterate the pages of your spread and match their bounding box to the page item's bounding box.
Dirk
Copy link to clipboard
Copied
Thanks for the help.
Hans
Find more inspiration, events, and resources on the new Adobe Community
Explore Now