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.

    Comment


      #3
      Hello tonynt,

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

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      71 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      43 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      25 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      28 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      56 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X