Example #1
0
        /// <summary>
        /// 获取文字颜色
        /// </summary>
        /// <returns></returns>
        public System.Drawing.Color GetColor()
        {
            byte r = 0, g = 0, b = 0, a = 0;

            mapControl.MgsGetSymColor(symbolName, ref r, ref g, ref b, ref a);
            return(Color.FromArgb(a, r, g, b));
        }