I am using builder.InsertHorizontalRule() to insert the horizontal rule in the document and I would like to set additional attributes for this rule. I find the inserted shape (it would be good if the metod returned the shape) and set the width or horizontal alignment, however in the resulting document the created horizontal rule always has 100% width and is left aligned. Setting height or color of this element works properly on the other hand. Could you please tell me how can I set the width and alignment for the hr?
Please find the example solution and expected result (in hr_expected file) attached.
AnnaHrTestApp.zip (28.1 KB)