Index was out of range. Must be non-negative and less than the size of the collection.
description
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
in "public void Print()"
..........
if (_pageTrees.Count > 0)
{
CurrentPageNumber++;
e.PageVisual = _pageTrees[pageIndex]; <--- (Index was out of range. ...)
}
..........
It happens consistently when I try to print second time. Is there reset or dispose method in the Report class?