class="csharpcode">格式:<para>………..</para>
/// <summary> /// <para>把html中的随机汉字转换为图片 调用如下:</para> /// <para> if (!Regex.IsMatch(searchinfo.word, "[\u4E00-\u9FA5]")) </para> /// <para>{ </para> <para> pageInfo.pageHtml = LibWeb.dict.DictWrodToImg.SpitImageWord(pageInfo.pageHtml);</para> <para>} </para> /// </summary> /// <param name="txt">html content</param> /// <returns>contain imgs for html</returns>
效果如下:
原文地址:http://abujj.me/archives/703