![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Oct 2007
Location: Tucson, AZ
Posts: 368
Thanks: 2
Thanked 2 times in 2 posts
|
First, how can I put a line break in the text string so that the message is on two lines? I tried two separate DrawTextFixed() stmts but they were written on top of one another.
Second, you should add full examples to your help file, please? DrawTextFixed(string tag, string text, TextPosition textPosition, Color textColor, Font font, Color outlineColor, Color backColor, int opacity) Third, your reference links to msdn are broken. Fourth, all I want is the enumeration list of the supported values for those options (Font, etc). Where do I find this and would you add that link to the help file please? |
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
Try add \n at the end of your strings for each line break.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Oct 2007
Location: Tucson, AZ
Posts: 368
Thanks: 2
Thanked 2 times in 2 posts
|
That's embarrassing. I really thought that I'd tried that.
![]() Thanks, Josh! |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| DrawTextFixed | BradB | Indicator Development | 4 | 04-18-2008 08:12 PM |
| superdom requests | bobbethgoo | Suggestions And Feedback | 1 | 04-11-2008 09:54 AM |
| DrawTextFixed not update as expected | goover | General Programming | 2 | 03-04-2008 08:19 PM |
| DrawTextFixed | rt-trader | General Programming | 5 | 01-21-2008 10:46 PM |
| DrawTextFixed | Lost Trader | General Programming | 6 | 01-20-2008 12:32 AM |