要设置导出的word 页面的字体大小 为 5号 ,该如何处理啊 ,代码 public void btnPrint_Click()
{
OutPut("online;filename=out.doc", "application/ms-word"); }
private void OutPut(string fileType, string strType)
{
Response.Clear();
Response.Buffer = true;
Response.Charset = "GB2312";
Response.AppendHeader("Content-Disposition", fileType);
Response.ContentType = strType;
this.EnableViewState = false;
System.IO.StringWriter swOut = new System.IO.StringWriter();
HtmlTextWriter hTw = new HtmlTextWriter(swOut);
this.RenderControl(hTw);
Response.Write(swOut.ToString());
Response.End();
} 怎么改啊
{
OutPut("online;filename=out.doc", "application/ms-word"); }
private void OutPut(string fileType, string strType)
{
Response.Clear();
Response.Buffer = true;
Response.Charset = "GB2312";
Response.AppendHeader("Content-Disposition", fileType);
Response.ContentType = strType;
this.EnableViewState = false;
System.IO.StringWriter swOut = new System.IO.StringWriter();
HtmlTextWriter hTw = new HtmlTextWriter(swOut);
this.RenderControl(hTw);
Response.Write(swOut.ToString());
Response.End();
} 怎么改啊
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货