Aspose::Words::Layout::LayoutEnumerator::get_Current method. Gets or sets current position in the page layout model. This property returns an opaque object which corresponds to the current layout entity in C++.... auto doc = System :: MakeObject < Aspose...Layout :: LayoutCollector > ( doc ); // Call the "GetNumPagesSpanned"...