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.

Comments

  • edited 9:58AM
    Hello,

    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).
  • edited 9:58AM
    Hello,

    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.
  • edited 9:58AM
    Hello,

    TextObject does not have such property.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.