Aspose::Words::Layout::LayoutCollector::GetNumPagesSpanned method. Gets number of pages the specified node spans. 0 if node is within a single page. This is the same as GetEndPageIndex() - GetStartPageIndex() in C++.... auto doc = System :: MakeObject < Aspose...Layout :: LayoutCollector > ( doc ); // Call the "GetNumPagesSpanned"...