Discover the HorizontalRuleFormat Alignment property to easily customize the alignment of horizontal rules for enhanced design flexibility.... Document doc = new Document (); DocumentBuilder...builder = new DocumentBuilder ( doc ); Shape shape = builder . InsertHorizontalRule...