AddText limited to 12 lines


#1

Hi,

I'm trying to add several lines of text (at different places) to an existing pdf using AddText like:

Dim mendor as PdfFileMend = New PdfFileMend (sInputFile,sOutputFile)
mendor.AddText(New FormattedText(sPrefix, New FontColor(0, 0, 0), FontStyle.Helvetica, EncodingType.Winansi, False, 10), 1, 190, 600, 400, 600 + 25)

When I try to add the 13th line I get an 'Index out range error'.
The only way to work around this is to close the mendor and reopen it.

Is this a bug or am I doing something wrong?

Erik-Jan Wardenier


#2

Dear Wardenier,

Thanks for considering Aspose.

It may be a bug, I will reproduce the problem and resolve it ASAP.


#3

Dear Wardenier,

We have found out the bug and will release a hotfix soon.


#4

Hotfix 1.8.1 has been published.