菜鸟请高手们指教指教!!!! 急  急  急 !  分数不多但望指教!最好有代码.

解决方案 »

  1.   

    itextshar
    pAbcPdf
    http://www.codeproject.com/KB/cs/iTextSharpPdfTables.aspx
      

  2.   

    一楼给的是代码 Download iTextSharpPdfTables.zip - 198.3 KB 点击这个连接就可以下载
      

  3.   


    要注册CodeProject帐号的,~
      

  4.   

    用ABCPDF收费组件
    或其他免费组件
      

  5.   

    这是给图片加水印的,看看是否能帮上你using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using System.Drawing;
    using System.Drawing.Drawing2D;
    using System.Drawing.Imaging;
    using System.Drawing.Text;public partial class Default3 : System.Web.UI.Page
    {
      protected void Page_Load(object sender, EventArgs e)
      {
      //设定需要添加水印图片的路径
      Image1.ImageUrl = "image\\1.jpg";
      }  protected void Button1_Click(object sender, EventArgs e)
      {
      //设定被添加水印图片的服务器路径
      string imagepath = Server.MapPath("image\\1.jpg");
      //创建一个位图
      Bitmap bitmap = new Bitmap(imagepath);
      //根据位图创建画布
      Graphics g = Graphics.FromImage(bitmap);
      //设定图片显示的样式
      g.SmoothingMode = SmoothingMode.AntiAlias;
      //在图片上添加文字,注意结合图片大小设置文字位置
      g.DrawString(this.TextBox1.Text, new Font("黑体", 30, FontStyle.Bold), SystemBrushes.WindowText, new Point(300,200));
      //设定图片类型
      Response.ContentType = "Image/jpeg";
      //设置图片保存路径
      string savepath = Server.MapPath("image");
      //保存图片
      bitmap.Save(savepath + "\\" + "a1.jpg", ImageFormat.Jpeg);
      bitmap.Dispose();
      g.Dispose();
      this.Image1.ImageUrl = "image/" + "a1.jpg";
      }
    }