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 = MakeObject < Document > ();...MakeObject < LayoutCollector > ( doc ); // Call the "GetNumPagesSpanned"...