Draw.TextFixed(this, "status", "Value", TextPosition.TopRight, Brushes.White, ChartControl.Properties.LabelFont, Brushes.Transparent, Brushes.Orange, 100);
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Draw.TextFixed()...
Collapse
X
-
Draw.TextFixed()...
Looking to make the font size larger. Old days would be -> new Font('blah'), now that doesn't seem to be the syntax. According to the docs this is what I have, but again, the font is too small. Any help would be greatly appreciated:
Code:Tags: None
-
Hello funk101,
Thank you for writing in.
You'll want to pass a new SimpleFont object to the overload of Draw.TextFixed() that takes a SimpleFont parameter:
More information about the SimpleFont class can be found here: https://ninjatrader.com/support/help...font_class.htmCode:Draw.TextFixed(NinjaScriptBase owner, string tag, string text, TextPosition textPosition, Brush textBrush, SimpleFont font, Brush outlineBrush, Brush areaBrush, int areaOpacity)
Please, let us know if we may be of further assistance.Zachary G.NinjaTrader Customer Service
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
670 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
379 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
111 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
575 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
582 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment