设置文字的TrueType字体
virtual Mcad::ErrorStatus setFont(LPCTSTR pTypeface, Mdesk::Boolean bold, Mdesk::Boolean italic, int charset, int pitchAndFamily);
参数 |
说明 |
LPCTSTR pTypeface |
文字的TrueType字体名 |
Mdesk::Boolean bold |
是否粗写 |
Mdesk::Boolean italic |
是否倾斜 |
int charset |
windows字符集 |
int pitchAndFamily |
windows字符族 |
成功返回Mcad::eOk