Free Support Forum - aspose.com

Using DocumentBuilder truncates string

Hi,

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?

Cheers.

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:

http://www.aspose.com/corporate/purchase/faqs/temporary-license.aspx

Regards,

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

Cheers!