Hi Asim,
Thank you for using Syncfusion products.
We have tried to reproduce the reported issue, but it works as expected without any error. We suspect that the issue is specific to the document you use, it will helpful for us if you could share that document used to analyze further from our side.
Note: The documents shared will not be disclosed and is only for the purpose to reproduce the issue. We assure you that the document will be deleted from our side once the issue is resolved.
Regards,
Prakash Kumar