Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Get height in pixels of SimpleFont?

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

    Get height in pixels of SimpleFont?

    In NT7 using System.Windows.Drawing.Font I could get the height in pixels via the height property https://msdn.microsoft.com/en-us/lib...vs.110%29.aspx

    How can I get the height in pixels of a SimpleFont?

    #2
    Originally posted by overflowing View Post
    In NT7 using System.Windows.Drawing.Font I could get the height in pixels via the height property https://msdn.microsoft.com/en-us/lib...vs.110%29.aspx

    How can I get the height in pixels of a SimpleFont?
    Answer in the responses in this thread.

    ref: http://ninjatrader.com/support/forum...d.php?p=422875

    Comment


      #3
      Hi overflowing,

      First, thanks to koganam for the link.

      The general information is that the size property for simple font is in pixels. However, this will scale with any change in DPI settings (along with any other wpf controls).
      Chelsea B.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mindset, Today, 06:46 AM
      0 responses
      8 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, Yesterday, 05:21 PM
      0 responses
      13 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      15 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      82 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      47 views
      0 likes
      Last Post PaulMohn  
      Working...
      X