Free Support Forum -

Using DocumentBuilder truncates string


I am currently trying to use either the Write() and InsertHtml() members of the DocumentBuilder class.

Unfortunately it seems to be truncating my text to only a few hundred characters.

What is the maximum number of characters that I can add into either of these methods before truncation occurs, and is there anyway I can get around this problem?


Hello!<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you for your interest in Aspose.Words.

Would you please share a code fragment being used for that? I’ll check whether it is correct and investigate what happens in the library. Now I cannot guess what restriction there could be applied. Maybe this is because you are using Aspose.Words in evaluation mode. To avoid truncation in evaluation mode you can request a temporary 30 day license for any product following this link:


Looks like the truncation problem was occuring before the call to InsertHtml(), it is working fine now.