Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT8 drawtext/drawtextfixed

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

    NT8 drawtext/drawtextfixed

    Hello,

    in the helpguide there is no example how to use Font for drawtext and drawtextfixed.

    And with "...Brushes.Black,new Font ("Arial",8),Brushes.Black..." as I had done in NT7 I get error message about type and namespace, missing using-directive...

    Thank you!
    Tony

    #2
    Hello tonynt,

    Thanks for your post.

    In the NT8 help guide for Draw.Text() if you review the Parameters table you will see the parameter for "font" shown as "A simple font" object. The "Simple Font" is red indicating it has a link to another page. If you click on the link it will take you to the page that shows how to specify the font as well as an example using Draw.Text.

    In the NT8 help guide for Draw.textFixed(), if you review the "tip" it discusses using the chartcontrol font or SimpleFont and links to both. The example shows using the chartcontrol font.

    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Hello tonynt,

      I meant to add the educational example we have for changing fonts: https://ninjatrader.com/support/help...raw_object.htm
      Paul H.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by The_Sec, Yesterday, 03:37 PM
      1 response
      11 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by vecnopus, Today, 06:15 AM
      0 responses
      1 view
      0 likes
      Last Post vecnopus  
      Started by Aviram Y, Today, 05:29 AM
      0 responses
      5 views
      0 likes
      Last Post Aviram Y  
      Started by quantismo, 04-17-2024, 05:13 PM
      3 responses
      27 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by ScottWalsh, 04-16-2024, 04:29 PM
      7 responses
      36 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Working...
      X