Hi all
I am trying to change a bit a script from Mario (create Proxies) with the IMImage-class.
I create an image
' Create the bitmap
m_Image.Create(400,400,0)
and add then some text to the bitmap, like
m_Image.RenderText(anzahltops,,,48,imaLeft,imaTop)
m_Image.RenderText(anzahlstackmembers,,,48,imaRight,imaTop)
The changed script ends then successfully with an image like attachement 1.You can see, also in attachement 2, we have some possibilities to place text in the bitmap.
Left, Center, Right
Top, Middle, Bottom
This is quite much, but it would be great, if I could place the text more exactly. As you can see in my attachement 1, I have now text like
Top
Middle
Bottom
But I would like to have:
Top
second line
third line
Middle
a line
a line
Bottom
Question 1: Is it somehow possible to add a second line? I tried some <br> or <LineBreak/> but nothing worked to create a second line.
Question 2:I tried to add some space at the end and start of a word. But I was not able to do it.
Say, in my attachement, I want a space before "Stacks", so that the word has a space from the left border.
How could I achieve this?
I tried something with " " or this method from Microsoft
Dim TestString As String
' Returns a string with 10 spaces.
TestString = Space(10)
' Inserts 10 spaces between two strings.
TestString = "Hello" & Space(10) & "World"
but could not get a simple space before or after a word (before "Stacks: 23" and after "1731 stacked".
My question 1 is much more important to me than question 2. 
It would be cool, if somehow has a solution or an idea, how to achieve this.
(One method at least works, with overlaying a second, smaller bitmap, but this is VERY confusing and difficult to arrange the text).Thanks for any ideas!