RichTextBox의 글꼴을 변경했지만이 변경 사항이 모든 문자로 올바르게 설정되지 않았습니다. RichTextBox에는 실제로 두 개의 글꼴이 있지만 그 글꼴은 아름답 지 않습니다. 이 문제에 대한 해결책이 있습니까?RichTextBox 글꼴을 C#의 모든 줄로 설정했습니다
this.richTextBox1.Font = new System.Drawing.Font("Maiandra GD", 12);
RichTextBox의 글꼴을 변경했지만이 변경 사항이 모든 문자로 올바르게 설정되지 않았습니다. RichTextBox에는 실제로 두 개의 글꼴이 있지만 그 글꼴은 아름답 지 않습니다. 이 문제에 대한 해결책이 있습니까?RichTextBox 글꼴을 C#의 모든 줄로 설정했습니다
this.richTextBox1.Font = new System.Drawing.Font("Maiandra GD", 12);
전체 상자 선택을 설정하고 SelectionFont을 설정
이 코드는 제대로 작동하지 않습니다.
this.richTextBox1.SelectionStart = 0;
this.richTextBox1.SelectionLength = this.richTextBox1.SelectionLength;
this.richTextBox1.SelectionFont = new System.Drawing.Font("Maiandra GD", 12);
약간의 변경으로이 코드를 사용했다 이번 변경은 this.richTextBox1.SelectionLength = this.richTextBox1.Text.Length; 그리고 난 내 대답을 얻을 Thnx – yeye
WPF 또는 winform? richTextBox1의 유형은 무엇입니까? – David
나는 윈도우 폼 툴을 사용한다 – yeye