I have to read back information from a word document with aspose.word. In the document the formfield contains text with a length greater then 255.
When I put data into the formfield with aspose.word it can be greater then 255, but when I try to read it from the formfield only 255 characters come back.
maybe I use the wrong way to read it :
dim aStr as string
aStr = oAD.Range.FormFields.Item(aIndex).Result
With regards,
Richard Bergmans Ingenieursbureau van der Linden The Netherlands
How did you insert long text into the form field in the first place? Using Aspose.Word or MS Word? If you insert it in MS Word, maybe it is truncating to 255 chars? There is nothing in Aspose.Word to truncate the text and string length in the document is stored as 16bit integer.