I have a large table that generates about 30 rows of 6 check boxes. The snippet of code is as follows (in C#). This gives you an idea of how I add the check boxes. I initialize them in an initialization method.
int NumberOfRows = 36;
for (int i =0; i < NumberOfRows; i++)
{
... previous code ...
rows[i].Cells.Add("");
rows[i].Cells[2].Paragraphs.Add(checkBox1[checkBoxCount]);
rows[i].Cells[2].Alignment = AlignmentType.Center;
rows[i].Cells[2].VerticalAlignment = VerticalAlignmentType.Center;
rows[i].Cells.Add("");
rows[i].Cells[3].Paragraphs.Add(checkBox2[checkBoxCount]);
rows[i].Cells[3].Alignment = AlignmentType.Center;
rows[i].Cells[3].VerticalAlignment = VerticalAlignmentType.Center;
rows[i].Cells.Add("");
rows[i].Cells[4].Paragraphs.Add(checkBox3[checkBoxCount]);
rows[i].Cells[4].Alignment = AlignmentType.Center;
rows[i].Cells[4].VerticalAlignment = VerticalAlignmentType.Center;
rows[i].Cells.Add("");
rows[i].Cells[5].Paragraphs.Add(checkBox4[checkBoxCount]);
rows[i].Cells[5].Alignment = AlignmentType.Center;
rows[i].Cells[5].VerticalAlignment = VerticalAlignmentType.Center;
rows[i].Cells.Add("");
rows[i].Cells[6].Paragraphs.Add(checkBox5[checkBoxCount]);
rows[i].Cells[6].Alignment = AlignmentType.Center;
rows[i].Cells[6].VerticalAlignment = VerticalAlignmentType.Center;
rows[i].Cells.Add("");
rows[i].Cells[7].Paragraphs.Add(checkBoxComment[checkBoxCount]);
rows[i].Cells[7].Alignment = AlignmentType.Center;
rows[i].Cells[7].VerticalAlignment = VerticalAlignmentType.Center;
checkBoxCount++;
... rest of code ...
}
I noticed that someone else noticed this problem in July. I downloaded the new .dll and added it as a reference in C#. (see https://forum.aspose.com/t/121122). However, the problem still occurs. Is there something that I configured wrong? I already installed Aspose.pdf and replaced the dll in the Solution Explorer. Or is there another bug? Any help would be appreciated!
This message was posted using Aspose.Live 2 Forum