Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

DrawTextFixed with multiple lines

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

    DrawTextFixed with multiple lines

    Hello,

    Is there a way I can put multiple lines of text into DrawTextFixed?

    What about alignment....can I left or right justify the lines?

    Thanks

    #2
    Hello,

    Thanks for your forum post.

    Yes you can add new lines using \n.

    Also you set the position using the last parameter.



    DrawTextFixed("Tag", "TESTTESTTESTTESTTESTTEST \n TEST TEST TEST TEST", TextPosition.TopRight);
    BrettNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    27 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    117 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    69 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    226 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    415 views
    0 likes
    Last Post CaptainJack  
    Working...
    X