/// <summary>
 /// 设置字体样式
 /// </summary>
 /// <param name="value"></param>
 public void SetD6(string value)
 {
     if (!string.IsNullOrEmpty(value.Trim()))
     {
         Font font = JsonController.DeSerializeToClass <Font>(value);
         this.FontStyle  = font.Style == System.Drawing.FontStyle.Italic ? FontStyles.Italic : FontStyles.Normal;
         this.FontFamily = CommonConverter.FontToMediaFontFamily(font);
         this.FontSize   = font.Size;
         this.FontWeight = font.Bold ? FontWeights.Bold : FontWeights.Normal;
     }
 }