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 judysamnt7, 03-13-2023, 09:11 AM
      4 responses
      57 views
      0 likes
      Last Post DynamicTest  
      Started by ScottWalsh, Today, 06:52 PM
      4 responses
      36 views
      0 likes
      Last Post ScottWalsh  
      Started by olisav57, Today, 07:39 PM
      0 responses
      7 views
      0 likes
      Last Post olisav57  
      Started by trilliantrader, Today, 03:01 PM
      2 responses
      19 views
      0 likes
      Last Post helpwanted  
      Started by cre8able, Today, 07:24 PM
      0 responses
      9 views
      0 likes
      Last Post cre8able  
      Working...
      X