C#中RichTextBox字体不统一(中英文)


  this.richTextBox1.Font = new System.Drawing.Font("微软雅黑", 12F);// new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  richTextBox1.LanguageOption = System.Windows.Forms.RichTextBoxLanguageOptions.UIFonts;

//属性中添加第二句 搞定

richTextBox1.LanguageOption = System.Windows.Forms.RichTextBoxLanguageOptions.UIFonts;


26162339-a2888d2648824d1b85819aad7c7090f2

原文地址:https://www.cnblogs.com/jason2004/p/8634983.html