Free Support Forum - aspose.com

How to remove text box from document

              Aspose.Html.Converters.Converter.ConvertHTML(@"<span>Hello  World!!</span>", ".", new Aspose.Html.Saving.DocSaveOptions(), "C:\\Users\\user161\\Desktop\\abc.docx");

Here I have written single line code to convert HTML string to docx file but after successfully converting for all text it is coming text box Capture.PNG (73.7 KB)
How can I remove this text box? I want normal text without a text box

@Shital_diwate

We have logged an issue as HTMLNET-3185 in our issue tracking system for further investigation on this case. We will look into its details and keep you posted with the status of its correction. Please be patient and spare us some time.

We are sorry for the inconvenience.

@Shital_diwate

We have performed an initial investigation against the logged ticket. HTML documents can have a very complex structure, which could not be represented using simple DOCX text paragraphs. That is why we use “TextBox” elements which allow us to preserve document layout. We can implement a new type of layout that will use text paragraphs, but the original HTML document structure will be lost.

This will be a complex new feature, implementation of which can take around three - four-month. Will such a layout fit your needs? Please provide your feedback so that we can further proceed accordingly.

1 Like