Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在 windows 上的单声道开发中设置标签字体。但我是单声道的初学者,我在属性(如 Visual Studio)上看不到字体。如何更改 Mono 上的字体描述?
只是用代码。
public static Pango.FontDescription Font (string Family, int Size,Pango.Style Sty=Pango.Style.Normal) { Pango.FontDescription F=new Pango.FontDescription(); F.Family=Family; F.Size=Size; F.Style=Sty; return F; }
和
lbl_Inf.ModifyFont(Font("Arial",23));