Skip to main content facebooktwittermenuarrow-up

TextBox content: VerticalAlignment - Community / GemBox.Document Feature Request - GemBox Support Center

9

TextBox content: VerticalAlignment Completed

For text inside a TextBox: It would be nice to have the possibility to set the vertical alignment to 'center' or 'bottom' if required (in addition to the default 'VerticalAlignment.Top').
For example as a property of the 'TextBoxFormat' Class, it seems there is already a private field that reflects the vertical alignment (0,1,2) when reading a document.

Official response

Mario at GemBox

Hi,

We have now exposed this as a public API.

You're now able to use TextBox.TextBoxFormat.VerticalAlignment property to set the desired vertical alignment.

Note that this is available in the latest publicly released bugfix version.

Regards,
Mario

Comment (1)

Daniel
Great !
Thanks a lot.

Attachments