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

Free Support Forum - aspose.com

Text horizontal align

Hi, I want to align text horizontally to the left. When I do that the text is not centered anymore - it moved up. TextFont.zip (113.4 KB)

@Lukasz_Dobrzynski

We have logged an investigation ticket as DIAGRAMJAVA-50980 in our issue tracking system to further analyze this scenario. We will look into its details and keep you posted with the status of its resolution. Please be patient and spare us some time.

We are sorry for the inconvenience.

Hi, any updates?

@Lukasz_Dobrzynski

Please try to set para’s index like this sample code:

Para para = new Para();
para.setIX(0); //add this line
shape.getParas().add(para);
shape.getParas().get(0).getHorzAlign().setValue(HorzAlignValue.LEFT_ALIGN); 

Hi, I will test more, but I think it’s working, thanks!