Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
SimpleFont Class
Collapse
X
-
It's in Gui.ToolsOriginally posted by wuileng View PostI'm trying to initialize a SimpleFont using the example code in the NT8 documentation.
However, when compiling I'm getting CS0246 errors.Code:SimpleFont myFont = new SimpleFont("Courier New", 12) { Size = 50, Bold = true };
Code:NinjaTrader.Gui.Tools.SimpleFont myFont = new NinjaTrader.Gui.Tools.SimpleFont("Courier New", 12) { Size = 50, Bold = true };MatthewNinjaTrader Product Management
Comment
-
I see a whole bunch of useful stuff in that namespace. Should we not have it as one of the standard using statements that the Wizard generates?Originally posted by NinjaTrader_Matthew View PostIt's in Gui.Tools
Code:NinjaTrader.Gui.Tools.SimpleFont myFont = new NinjaTrader.Gui.Tools.SimpleFont("Courier New", 12) { Size = 50, Bold = true };
Comment
-
We discussed that, but SimpleFont in our opinion was the only object in that namespace we could see users using at any frequency. We intended to have the SimpleFont class reference that namespace explicitly and I've updated the help guide to reflect that.Originally posted by koganam View PostI see a whole bunch of useful stuff in that namespace. Should we not have it as one of the standard using statements that the Wizard generates?MatthewNinjaTrader Product Management
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
672 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
577 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