I'll see if I can put something together over the next few days and send it in. I did manage to get things working. Here's what I've found:
1) I was adding a Checkbox control to a Table cell but the .draw method didn't seem to like that. As soon as I took the Checkbox out, my code started working.
I then tried to add my Checkbox to an AreaGroup and then added the AreaGroup to the Table cell. That actually seemed to work.
2) Occasionally, the Table that I am building will need to spill onto an overflow page. So I'm using the Table.GetOverflowRows() method.
The documents that I've added to the merge document were added by using
.Append("file path", MergeOptions.Append);
When I add the additional page to the merge document because of the overflow rows, I was using
.Append("file path", MergeOptions.None);
For some reason, the draw method didn't like that I had changed the merge options. As soon as I changed MergeOptions.None to MergeOptions.Append -- everything started working again.
When I left MergeOptions.None in there, the following error was being thrown on the .draw method -- "Index was outside the bounds of the array."