Pages Property (PlanningSegment)
Returns collection of all pages assigned to the planning segment.
Example shows how to assign pages to planning segment.
//for newly created PCT loop there is no pages assigned
Page[] arrPages = oPCTLoop.Pages;
//oPCTLoop.Pages.Length == 0
//assign pages
oPage1.PlanningSegment = oPCTLoop;
oPage2.PlanningSegment = oPCTLoop;
//pages are assigned
//oPCTLoop.Pages.Length == 2
//remove assignment from one page
oPage1.PlanningSegment = null;
//oPCTLoop.Pages.Length == 1