请问Response.BinaryWrite 在写到页面的时候能不能改变字体大小啊谢谢

解决方案 »

  1.   

     byte[] AbyStr = System.Text.Encoding.UTF8.GetBytes("<h1>字体变了</h1>");
            Response.BinaryWrite(AbyStr);
      

  2.   

    1楼的:byte[] AbyStr = System.Text.Encoding.UTF8.GetBytes("<h1>字体变了</h1>");
      Response.BinaryWrite(AbyStr);  不能满足你的要求?
      

  3.   

    你好 我是从数据库中读取出来的一个word文件  读取到byte[]中  然后使用Response.BinaryWrite后发现显示的字体变小了
      

  4.   

    你好 我是从数据库中读取出来的一个word文件  读取到byte[]中  然后使用Response.BinaryWrite后发现显示的字体变小了
      

  5.   

    我是做ipad上的app,一个webview调后台的这个asp.net 的网页,
    byte[] fileBytes = (byte[])ds.Tables[0].Rows[0][0];
    Response.ContentType = "application/msword";                        Response.AddHeader("Content-Disposition", "attachment;filename=temp.doc");
                            Response.Charset = "UTF-8";
                            Response.ContentEncoding = System.Text.Encoding.UTF8;
                            Response.BinaryWrite(fileBytes);
                            Response.End();
    在这个webview控件中显示的变小了,但是用safari浏览器看这个网页时又是显示的正好,所以不知道是怎么回事了,我在想会不会是webview需要设置什么,但是同样的webview我在网页上用连接一个word时显示的又是正确的。