Skip to main content
Inspiring
June 17, 2010
解決済み

CS4: Get all UID of pages who contains a page item

  • June 17, 2010
  • 返信数 1.
  • 746 ビュー

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

このトピックへの返信は締め切られました。
解決に役立った回答 Dirk Becker

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

返信数 1

Jongware
Community Expert
Community Expert
June 17, 2010
... if a page item is place on two pages. ...

Is that even possible? I would think all copies get a fresh UID ...

Dirk Becker解決!
Legend
June 17, 2010

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

hstoessel作成者
Inspiring
July 9, 2010

Thanks for the help.

Hans