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 Perr0Grande, Today, 08:16 PM
      0 responses
      2 views
      0 likes
      Last Post Perr0Grande  
      Started by elderan, Today, 08:03 PM
      0 responses
      5 views
      0 likes
      Last Post elderan
      by elderan
       
      Started by algospoke, Today, 06:40 PM
      0 responses
      10 views
      0 likes
      Last Post algospoke  
      Started by maybeimnotrader, Today, 05:46 PM
      0 responses
      12 views
      0 likes
      Last Post maybeimnotrader  
      Started by quantismo, Today, 05:13 PM
      0 responses
      7 views
      0 likes
      Last Post quantismo  
      Working...
      X