AutoCAD.Net/C#.Net QQ群:193522571 System.Drawing.Color和AutoDesk.AutoCAD.Colors.Color互转

假如各自实例化后的Color分别为:

SysColor和CadColor

那么

SysColor转AutoDesk.AutoCAD.Colors.Color为:Autodesk.AutoCAD.Colors.Color.FromColor(SysColor)

CadColor转 System.Drawing.Color为:CadColor.ColorValue

你可能感兴趣的:(AutoCAD.Net/C#.Net QQ群:193522571 System.Drawing.Color和AutoDesk.AutoCAD.Colors.Color互转)