 
            | 分享时间 | 2021-09-22 15:48 | 
| 最后更新 | 2023-06-27 14:50 | 
| 修订版本 | 1 | 
| 用户许可 | -未设置- | 
| Quicker版本 | 1.36.13 | 
| 动作大小 | 2.2 KB | 
//.cs 文件类型,便于外部编辑时使用
// 引用必要的命名空间
using System.Windows.Forms;
using System.Drawing.Text;
using System.Windows.Media;
using System.Linq;
// Quicker将会调用的函数
public static void Exec(Quicker.Public.IStepContext context)
{
InstalledFontCollection fontCol = new InstalledFontCollection();
var ff = fontCol.Families.Select(x => x.Name);
context.SetVarValue("font_names", ff); // 向变量里输出值
}
| 修订版本 | 更新时间 | 更新说明 | 
|---|---|---|
| 1 | 2023-06-27 14:50 | + 优化变量名 + 加入示例库 | 
| 0 | 2021-09-22 15:48 |