visual studio 2016
DocX
DocX – Add horizontal lines to Microsoft Word document programmatically
8 years ago