Discover the Aspose.Words.HorizontalRuleAlignment enum for precise control over horizontal rule alignment, enhancing your Document formatting and design.... Document doc = new Document (); DocumentBuilder...builder = new DocumentBuilder ( doc ); Shape shape = builder . InsertHorizontalRule...