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.
有没有办法设置字体样式 ItalicUnderline 或 BoldItalicUnderline?
谢谢
XFontStyle 是一种enum类型。您可以使用按位逻辑来组合值。
enum
const XFontStyle ItalicUnderline = XFontStyle.Italic | XFontStyle.Underline ; const XFontStyle BoldItalicUnderline = XFontStyle.Bold | XFontStyle.Italic | XFontStyle.Underline ;