Aspose::Words::PageSetup::get_LineNumberRestartMode method. Gets or sets the way line numbering runs that is, whether it starts over at the beginning of a new page or section or runs continuously in C++....continue the count from that point onward. doc -> get_FirstSection...