How to set the border line of textbox to none?

Hi, Support:

I want to set the all the lines of borders of a textbox to none? how to reach it?

Thanks for your help!

Ducaisoft

@ducaisoft

Please use the following code example to achieve your requirement.

Document doc = new Document(MyDir + "in.docx");
Shape shape = (Shape)doc.GetChild(NodeType.Shape, 0, true);

shape.Stroked = false;
doc.Save(MyDir + "19.10.docx");

If you still face problem, please ZIP and attach your input and expected output documents here for our reference. We will then provide you more information about your query.

Thanks!
It works!