• 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

Draw.TextFixed() Opacity

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

    Draw.TextFixed() Opacity

    I use Draw.TextFixed() to display the symbol name in a large font. Although opacity can be defined for fill color, the font itself cannot be set to opaque. I have provided a sample image. Thanks. Please help. If not possible, then maybe a feature improvement?
    Attached Files

    #2
    Hello stevenev1,

    Thank you for your post.

    In this case, you could supply a text brush with an opacity:

    Code:
    SolidColorBrush myBrush = new SolidColorBrush(Color.FromArgb(100, 56, 120, 153));
    myBrush.Opacity = 0.25;
    myBrush.Freeze();
    https://ninjatrader.com/support/help...th_brushes.htm


    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Worked great. Thanks a lot, Jesse.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by deblanka, Today, 08:56 AM
      0 responses
      3 views
      0 likes
      Last Post deblanka  
      Started by Boonfly8, Yesterday, 12:30 PM
      7 responses
      18 views
      0 likes
      Last Post sledge
      by sledge
       
      Started by Sohal, Today, 05:02 AM
      2 responses
      10 views
      0 likes
      Last Post techmint  
      Started by danitralla, Today, 03:33 AM
      0 responses
      5 views
      0 likes
      Last Post danitralla  
      Started by yeshujbp, Today, 12:37 AM
      0 responses
      16 views
      0 likes
      Last Post yeshujbp  
      Working...
      X