符号对应得数字可以打开Moftoffice word查看wingdings 2对应符号对应得数字代码
/// <summary>
/// 插入一个符号,默认是一个对号勾勾
/// </summary>
/// <param name="doc"></param>
/// <param name="bm"></param>
/// <param name="number">符号所代表得number</param>
public static void ModifySyl(Document doc, string bm,int number=80)
{
try
{
//判断标签和图片是否存在
if (BookMarkIsExist(doc, bm))
{
DocumentBuilder builder = new DocumentBuilder(doc);
builder.MoveToBookmark(bm);
builder.Font.Name = "Wingdings 2";
builder.Font.Size = 15;
builder.Write(char.ConvertFromUtf32(number));
}
}
catch (Exception)
{
throw;
}
}