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 Hwop38, 05-04-2026, 07:02 PM
        0 responses
        160 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        308 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        245 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        349 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        179 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X