![]() |
|
|||||||
| Charting Support for NinjaTrader Advanced Charting. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Aug 2011
Location: Brisbane, Australia
Posts: 78
Thanks: 5
Thanked 8 times in 6 posts
|
I am trying to use the 10.4.4.34 Draw Text(), but I cannot give the correct name to "Font font,". I does not accept "Font.Arial".
Can someone please provide a list of font names that will be accepted in this line of code. Just the common names, mainly Arial and like fonts. Thank you from 'oldhiker' PS. The 'font reference' in the manual does not load.
Last edited by oldhiker; 08-13-2012 at 08:05 PM.
|
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Apr 2010
Location: Denver, CO, USA
Posts: 4,770
Thanks: 158
Thanked 562 times in 553 posts
|
It will accept any fonts that you have installed in your computer.
The correct syntax would be: new Font("Arial", 12)
Matthew
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Member
Join Date: Aug 2011
Location: Brisbane, Australia
Posts: 78
Thanks: 5
Thanked 8 times in 6 posts
|
Hello Matthew,
Thank you for your speedy reply. I would never have used the syntax you showed. It worked. I am so happy. Perhaps this could be included in the on-line Help Guide. When clicking on the 'reference' in the parameters box in the Help Guide, the link did no load. While this does not matter for me at this point, it may be a problem for other users. Thank you |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Draw Arrow and Draw Text on same bar | rsksmiles | Indicator Development | 1 | 04-21-2012 12:08 PM |
| Changing text box font resets outline width and background opacity | MikeInMA | Suggestions And Feedback | 3 | 01-10-2011 02:08 AM |
| Font size in Draw methods | sgordet | Strategy Development | 6 | 01-04-2011 05:05 PM |
| Draw symbol font increase | mohdfraz | General Programming | 1 | 01-21-2009 07:25 AM |
| DrawText...Font...how do you use the font param? Can't find any examples | funk101 | General Programming | 8 | 05-29-2007 07:10 AM |