We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Null BorderInfo for text object

Hy support,

Please check the following code and note that the text object has a null BorderInfo by default. (On the other side the table object has a non-null BorderInfo.)

Pdf pdf = new Pdf();
Section sec1 = pdf.getSections().add();
Table table = new Table(sec1);
Text text1 = new Text(sec1,“Para1”); //$NON-NLS-1$
//the following line crashes

Is this expected ?

Thank you,

Hello Milan,

I have tested the issue and I’m able to reproduce the same problem. I have logged it in our issue tracking system as PDFJAVA-10992. We will investigate this issue in detail and will keep you updated on the status of a correction.

We apologize for your inconvenience.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Hi Milan,

This bug has been fixed. Please try the attachment.