Discover the HorizontalRuleFormat WidthPercent property to easily customize your horizontal rule's length as a percentage of window width for better design control....; } Exceptions exception condition ArgumentOutOfRangeEx Throws...shape, and customize its formatting. Document doc = new Document...