Skip to main content
Chinnadk
Legend
November 16, 2016
Answered

How to get a mastrspread's first page?

  • November 16, 2016
  • 1 reply
  • 425 views

Hi All,

How to get a mastrspread's first page like as in the below javascript line?

app.activeDocument.masterSpreads.item("B-RunningPages").pages.item(0);

Regards,

Chinna

This topic has been closed for replies.
Correct answer Norio Kawamura

Use IMasterSpreadList::FindMasterByName and ISpread::GetNthPageUID.

1 reply

Norio KawamuraCorrect answer
Inspiring
November 17, 2016

Use IMasterSpreadList::FindMasterByName and ISpread::GetNthPageUID.

Chinnadk
ChinnadkAuthor
Legend
November 17, 2016

Thank you Norio, it works fine.