iText GetTextFromPage returns the text from the begining for evey page
<p>I have this simple piece. The problem is very strange - on every iteration, the reader returns the whole text since the beginning of the pdf document.
Probably this is something simple, but I can't see it.</p>

<pre><code>...
PdfReader reader = new PdfReader ( path );
PdfReaderContentParser parser = new PdfReaderContentParser ( reader );
...
public void Read(int start, int end)
{
    ITextExtractionStrategy strategy = new SimpleTextExtractionStrategy();

    StringBuilder sb = new StringBuilder();

    for (int page = start; page &lt; end; page++)
    {
        try
        {
            sb.Append(PdfTextExtractor.GetTextFromPage(reader, page, strategy));
        }
        catch (Exception ex)
        {
            throw new PdfException(ex.Message, ex.InnerException);
        }

        var p = new Page { Number = page, Content = sb.ToString()};
        sb.Clear();
        PageParsed?.Invoke(this, new PdfEventArgs&lt;Page&gt;(p));
    }
    FileParsed?.Invoke(this, new PdfEventArgs&lt;string&gt;(string.IsNullOrEmpty(Name) ? "File parsed" : Name));
}
</code></pre>