#region Using declarations using NinjaTrader.Data; using NinjaTrader.Gui.SuperDom; using System; using System.Collections.Concurrent; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Windows; using System.Windows.Input; using System.Windows.Media; using System.Text; using System.Xml.Serialization; #endregion private TypeFace typeFace = new Typeface(fontFamily, fontStyle, fontWeight, FontStretches.Normal); FormattedText pnlText = new FormattedText(accumVol, Core.Globals.GeneralOptions.CurrentCulture, FlowDirection.LeftToRight, typeFace, SuperDom.Font.Size, Brushes.Black );
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
TypeFace missing reference
Collapse
X
-
TypeFace missing reference
I have System.Windows.Media listed as a reference but I'm getting an error saying the type or namespace name 'TypeFace' could not be found. I copied the typeface code from the superdom columns APQ code
Code:Tags: None
-
Hello habibalex,
In the first post you have:
Code:private TypeFace typeFace = new Typeface(fontFamily, fontStyle, fontWeight, FontStretches.Normal);
Code:private TypeFace typeFace = new Type[B]F[/B]ace(fontFamily, fontStyle, fontWeight, FontStretches.Normal);
Chelsea B.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by traderqz, Today, 12:06 AM
|
10 responses
18 views
0 likes
|
Last Post
by traderqz
Today, 02:49 PM
|
||
Started by algospoke, 04-17-2024, 06:40 PM
|
5 responses
46 views
0 likes
|
Last Post Today, 02:36 PM | ||
Started by arvidvanstaey, Today, 02:19 PM
|
1 response
6 views
0 likes
|
Last Post Today, 02:33 PM | ||
Started by mmckinnm, Today, 01:34 PM
|
3 responses
5 views
0 likes
|
Last Post Today, 02:12 PM | ||
Started by f.saeidi, Today, 01:32 PM
|
2 responses
9 views
0 likes
|
Last Post
by f.saeidi
Today, 02:10 PM
|
Comment