Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

Explorer ,
Jun 17, 2010 Jun 17, 2010

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

TOPICS
SDK
730
Translate
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

correct answers 1 Correct answer

Mentor , Jun 17, 2010 Jun 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

Translate
Community Expert ,
Jun 17, 2010 Jun 17, 2010
... if a page item is place on two pages. ...

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

Translate
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
Mentor ,
Jun 17, 2010 Jun 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

Translate
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
Explorer ,
Jul 09, 2010 Jul 09, 2010
LATEST

Thanks for the help.

Hans

Translate
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