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?