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

Free Support Forum - aspose.com

How to set horizontal text justification?

Why does the TextBlock object have methods to get/set VerticalAlign but not HorizAlign? How do I set a shape’s text to be left or right justified?

(Edit: If it matters, I’m using the Java version of the library)

@bt5241

Thanks for contacting support.

Currently, you can set text direction of text in a text block. However, we were able to notice that property for horizontal alignment was not present in the TextBlock Class. Therefore, we have logged a feature request as DIAGRAMJAVA-50619 in our issue tracking system. We will further work over implementing the feature after checking its feasibility and inform you as soon as feature is available. Please spare us little time.

We are sorry for the inconvenience.