#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 frankthearm, Today, 09:08 AM
|
3 responses
6 views
0 likes
|
Last Post Today, 09:52 AM | ||
Started by yertle, Today, 08:38 AM
|
5 responses
14 views
0 likes
|
Last Post Today, 09:45 AM | ||
Started by adeelshahzad, Today, 03:54 AM
|
3 responses
16 views
0 likes
|
Last Post Today, 09:43 AM | ||
Started by bill2023, Yesterday, 08:51 AM
|
6 responses
27 views
0 likes
|
Last Post Today, 09:37 AM | ||
Started by NinjaTrader_ChelseaB, 01-08-2017, 06:59 PM
|
80 responses
19,667 views
5 likes
|
Last Post Today, 09:29 AM |
Comment