space is ignored in MultiLine text.
Hi,
I use text object, set Text = "aa bbcc" (one space char), it' ok,
but when i set width is small & height is large, text will be multi line,
for example, Width = 0.4cm & Height = 2.64cm,
text display is same when i change space char quantity, for example, Text = "aa bbcc"(eight space char).
It's like the space is ignored.
But if i change Text = "aa111bbcc", it's ok.
I use text object, set Text = "aa bbcc" (one space char), it' ok,
but when i set width is small & height is large, text will be multi line,
for example, Width = 0.4cm & Height = 2.64cm,
text display is same when i change space char quantity, for example, Text = "aa bbcc"(eight space char).
It's like the space is ignored.
But if i change Text = "aa111bbcc", it's ok.
Comments
It's standard behavior of Graphics.DrawString method which is used to draw a text. You may use CellularTextObject instead (turn off its border, set WordWrap to false and set necessary cell size in CellWidth, CellHeight properties).
In fact, i want Text is vertically aligned. using StringFormatFlags.DirectionVertical when Graphics.DrawString, thus space char is not ignored.
I hope text object has this property.
TextObject does not have such property.