• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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 AxelrodWins, Today, 09:56 PM
      0 responses
      1 view
      0 likes
      Last Post AxelrodWins  
      Started by trader14, Today, 08:12 PM
      0 responses
      6 views
      0 likes
      Last Post trader14  
      Started by ypbtrainer, Today, 05:38 PM
      0 responses
      2 views
      0 likes
      Last Post ypbtrainer  
      Started by GARZONJ, Yesterday, 11:22 PM
      1 response
      14 views
      0 likes
      Last Post NinjaTrader_ChrisL  
      Started by mike09, Yesterday, 07:37 PM
      1 response
      24 views
      0 likes
      Last Post NinjaTrader_ChrisL  
      Working...
      X