Discover the HorizontalRuleFormat WidthPercent property to easily customize your horizontal rule's length as a percentage of window width for better design control....to insert a horizontal rule shape, and customize its formatting...DocumentBuilder ( doc ); Shape shape = builder . InsertHorizontalRule...