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 rhyminkevin, Today, 04:58 PM
      4 responses
      52 views
      0 likes
      Last Post dp8282
      by dp8282
       
      Started by iceman2018, Today, 05:07 PM
      0 responses
      5 views
      0 likes
      Last Post iceman2018  
      Started by lightsun47, Today, 03:51 PM
      0 responses
      7 views
      0 likes
      Last Post lightsun47  
      Started by 00nevest, Today, 02:27 PM
      1 response
      14 views
      0 likes
      Last Post 00nevest  
      Started by futtrader, 04-21-2024, 01:50 AM
      4 responses
      50 views
      0 likes
      Last Post futtrader  
      Working...
      X