Discover Aspose.Words.LineNumberRestartMode enum to control automatic line numbering resets for enhanced document formatting and clarity....Document doc = new Document (); DocumentBuilder builder = new DocumentBuilder...restart the numbering on each new page from 1 and display the number...