Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Font serialization

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Font serialization

    How do we serialize Font in NT 8 ?


    Thanks

    #2
    If you're using the SimpleFont class, you do not need to do anything to serialize it

    Code:
    private NinjaTrader.Gui.Tools.SimpleFont font  = new NinjaTrader.Gui.Tools.SimpleFont("Arial", 14);
    
    public NinjaTrader.Gui.Tools.SimpleFont MyFont
    {
    get { return font; }
    set { font = value; }
    }
    MatthewNinjaTrader Product Management

    Comment


      #3
      OK

      Thanks Matthew

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by kinfxhk, 07-13-2026, 10:18 AM
      0 responses
      33 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-13-2026, 09:50 AM
      0 responses
      26 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-13-2026, 07:21 AM
      0 responses
      35 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-11-2026, 02:11 AM
      0 responses
      31 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by SalmaTrader, 07-07-2026, 10:26 PM
      0 responses
      141 views
      0 likes
      Last Post SalmaTrader  
      Working...
      X