HorizontalRuleFormat.width_percent property. Gets or sets the length of the specified horizontal rule expressed as a percentage of the window width....shape, and customize its formatting. doc = aw . Document () builder...horizontal_rule_format = shape . horizontal_rule_format horizontal_rule_format...