/// <summary> /// 生成html文件 /// </summary> /// <param name="content">内容</param> /// <param name="htmlpath">生成html路径</param> /// <returns></returns> public bool CreateHtml(string content, string htmlpath) { try { FileAccessHelper.WriteTextFile(htmlpath, content); return(true); } catch { return(false); } }