I'm new to NT8, so I began to do simple things. After trying to compile a simple strategy, they came up several "warnings" not errors, from other sources, in regard to graphics updates.
The warning:
Warning: 'System.Windows.Media.FormattedText.FormattedText( string, System.Globalization.CultureInfo, System.Windows.FlowDirection, System.Windows.Media.Typeface, double, System.Windows.Media.Brush)' is obsolete: 'Use the PixelsPerDip override'
The line where the warning came from ( @APQ.cs )
FormattedText noteText = new FormattedText(apq != long.MinValue ? apq.ToString(Core.Globals.GeneralOptions.CurrentCu lture) : "N/A", Core.Globals.GeneralOptions.CurrentCulture, FlowDirection.LeftToRight, typeFace, SuperDom.Font.Size, ForeColor) { MaxLineCount = 1, MaxTextWidth = this.renderWidth - 6, Trimming = TextTrimming.CharacterEllipsis };
Please let me know how to correct this.
Thanks in advance
Comment