Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Can't use Color.FromArgb Method (Int32, Color). Is there any analogue in NT8?

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

    Can't use Color.FromArgb Method (Int32, Color). Is there any analogue in NT8?

    Hello.

    In NT7 I often used Color.FromArgb Method (Int32, Color) from System.Drawing namespace.

    Now this method is unavailable.
    Only System.Windows.Media.Color.FromArgb( byte, byte, byte) available.

    Is there any method with (int32, Color) arguments?
    fx.practic
    NinjaTrader Ecosystem Vendor - fx.practic

    #2
    Hello fx.practic,

    Thank you for writing to the support team.

    I am reviewing your inquiry and will be back with a reply shortly.

    I look forward to assisting further.

    Comment


      #3
      Hello fx.practic,

      The FromArgb from Windows.Media is the constructor that will need to be used.

      I would recommend using this publicly available color picker to calculate your RGB values to make using this constructor easier.

      W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.


      Please let us know if we may be of any further assistance.

      Comment


        #4
        Thank You.
        fx.practic
        NinjaTrader Ecosystem Vendor - fx.practic

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        156 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        90 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        140 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        130 views
        1 like
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        107 views
        0 likes
        Last Post CarlTrading  
        Working...
        X