Graphics: Right and Center Aligned Text API 1

There was an announcement recently about a blog post with a project for doing this … but it is API 2.

For those still using API 1, I have code that allows you to do the alinement and flow text similarly to that recent blog post by Javier Menendez.

Beside wrapping and flowing, it also allows setting line spacing by block to control the look a bit more.

In addition if you need to truncate at the end it can optionally intelligently do that and put an ellipsis at the end.

I wrote the code about 12+ years ago as I needed to it for my mergeable cell listbox which I have open sourced.

The methods for this are in a self contained module so can be used separately from the listbox code.

If you are interested, the you can get the project at :

2 Likes