2 Replies Latest reply on Jun 2, 2015 1:29 PM by JOHN GEORGE

    Color number in SW API

    JOHN GEORGE

      Hi Everyone,

      How can I find the matching color of SW API color number

      Below is an example of color code from API help

       

      ' Get LayerMgr object
      Set pLayerMgr = pDrawing.GetLayerManager
      ' Create a layer
      res = pLayerMgr.AddLayer("myLayer", "Desc", 1227327, 0, 0)
      

       

      Here 1227327 is the color code and what is the matching color in RGB