Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Draw text - font name?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Draw text - font name?

    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, 08:05 PM.

    #2
    It will accept any fonts that you have installed in your computer.

    The correct syntax would be:

    new Font("Arial", 12)
    MatthewNinjaTrader Product Management

    Comment


      #3
      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

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by alifarahani, Today, 09:40 AM
      6 responses
      31 views
      0 likes
      Last Post alifarahani  
      Started by Waxavi, Today, 02:10 AM
      1 response
      17 views
      0 likes
      Last Post NinjaTrader_LuisH  
      Started by Kaledus, Today, 01:29 PM
      5 responses
      14 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by Waxavi, Today, 02:00 AM
      1 response
      12 views
      0 likes
      Last Post NinjaTrader_LuisH  
      Started by gentlebenthebear, Today, 01:30 AM
      3 responses
      17 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Working...
      X