Paragraph Height/Width

Hi guys,

I need to modify height and width of paragraphs in a Word document.

With a debugger I’ve found that the values I need to change are available as private properties of a ParagraphFormat object and modifying them directly in the debugger gives the desired results. Those private properties have funky encoded names though and I can’t automate that even by using reflection.

Is there some other way to change those values and is there a reason for them not being public in the first place.

Please find attached a screenshot.

Thanks.

Hi

Thanks for your inquiry. Could you please attach your input and expected output documents? I will check them and provide you more information. I believe there is no need to change private fields.
Best regards.