Aspose::Words::Layout::PageLayoutCallbackArgs::get_PageIndex method. Gets 0-based index of the page in the Document this event relates to. Returns negative value if there is no associated page, or if page was removed during reflow in C++....PageLayoutCallback () { auto doc = MakeObject < Document > (); doc -> get_BuiltInDocumentPrope...> ( doc ); builder -> Writeln ( u "Hello world!" ); doc -> get_LayoutOptions...