Free Support Forum - aspose.com

Index and length must refer to a location within the string. Parameter name: length

What does this error mean?

Dear spt,

Could you post the sample code in vb/c#/xml which can reproduce the exception?

Thanks for your cooperation.

Unfortunately, I can’t send you the sources.
This problem occurred when I was trying to insert
some text containing several “\n” symbols in a Table Cell.
It is not a persistant error - it depends on where this string is placed in the file.

I tried to use the “Helvetica” font, size 8.
When I changed the font size to 10, the error was gone (I did not receive it yet, anyway).

Please, advise.

Dear spt,

Thanks for your consideration.

I am sorry, I am unable to duplicate the error. Would you please include simple code which will duplicate this error?