Free Support Forum - aspose.com

Cannot get text alignment center

IParagraph pg = textFrame.getParagraphs().get_Item(i);
IParagraphFormat pf = pg.getParagraphFormat();

pf.getAlignment() return -1 on center text.

Alignment left and right got correct return value with 0 and 2.

Use java 15.6.0 with test.pptx(attachment)

Hi Tonny,

I have worked with the presentation file shared by you and have been able to observe the issue specified. An issue with ID SLIDESJAVA-34999 has been created in our issue tracking system to further investigate and resolve the issue. this thread has been linked with the issue so that you may be automatically notified once the issue will be resolved.

We are sorry for your inconvenience,

The issues you have found earlier (filed as SLIDESJAVA-34999) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.