Checkbox in table behaving weirdly on page break

Whenever there is a checkbox in a table in a row that appears to be just before the page break, the check box remains on the first page whereas its text goes on next page. Is there any way to make sure that the checkbox and the text comes on the same page. Please find the sample code on the link provided

@ovais

The archive that you have shared is damaged or corrupted. We were unable to open it. We request you please share only input/output files along with sample code snippet which can be used to replicate the issue in a console application. This would help us testing the scenario accordingly and address it.

Please download the provided .rar file, extract and run the project, it will generate the pdf file in TableCheckBoxIssue\PdfGenerationApplication\PdfGenerationApplication\PdfProcedures folder . The json can be found at \PdfGenerationApplication\PdfGenerationApplication\ProcedureJsons. The input json and output pdf are attached as follows
test5_904 (Copy 1)_B6A1D02B2A3B45478D2534D1B3109868.pdf (124.3 KB)

@ovais

We did try to open the .rar file after downloading it but faced following error;

corruptedarchive.png (2.8 KB)

@asad.ali I have uploaded the code again as a zip file. Please let us know if you’re able to access the code now. Sorry for the inconvenience caused.

@ovais

We were able to replicate the issue in our environment while testing the scenario with your provided project and Aspose.PDF for .NET 20.11. We have logged it as PDFNET-49050 in our issue tracking system for the sake of further investigation. We will look into its details and keep you posted with the status of its correction. Please be patient and spare us some time.

We are sorry for the inconvenience.

PS: We have deleted the link from your previous post as it contained your license. Please do not include license file while sharing sample applications.

1 Like

The issues you have found earlier (filed as PDFNET-49050) have been fixed in Aspose.PDF for .NET 21.4.