Hi Gyorgy,
Thank you for contacting Syncfusion support.
From the given details, we have found that, you requirement is to adjust the text to fit in the textbox in the Word document using DocIO. For this, we have suggest you to use the AutoFit property of the textbox as like below.
//Resize the textbox based on its contents textbox.TextBoxFormat.AutoFit = true; |
Please let us know if you have any other questions.
Regards,
Manikandan Ravichandran