Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Does DrawText auto-trim a string?
Collapse
X
-
Does DrawText auto-trim a string?
I have a line DrawText("Test"+ CurrentBar, "Hello" + " ", 0, Close[0], Color.Black, textFont, StringAlignment.Far, Color.Transparent,Color.White,10); The added padding of spaces to shift the text slightly to the left is eliminated when displayed. I tried to use .PadRight(8, ' ') and it seems to ignore it also. Is there a way to get the text shifted slightly over to the left with spaces?Last edited by marketmasher; 04-14-2009, 07:45 PM.Tags: None
-
.,;'[]\/12345asdf. Anything that does not produce a blank space. If you want a blank space unfortunately that is beyond the level of support we can offer. You will have to dive into C# to see if there are any string manipulations you can use to mimic the effect.Josh P.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Mathias79, Today, 10:38 AM
|
5 responses
16 views
0 likes
|
Last Post
by Mathias79
Today, 11:14 AM
|
||
Started by Skifree, Yesterday, 11:41 PM
|
2 responses
13 views
1 like
|
Last Post
by eDanny
Today, 11:08 AM
|
||
Started by TraderCro, 04-12-2024, 11:36 AM
|
8 responses
105 views
0 likes
|
Last Post Today, 11:06 AM | ||
Started by synthhokie, Today, 10:24 AM
|
3 responses
9 views
0 likes
|
Last Post Today, 11:03 AM | ||
Started by eladlevi, Today, 11:02 AM
|
0 responses
4 views
0 likes
|
Last Post
by eladlevi
Today, 11:02 AM
|
Comment