private void DraweImage()
        {
            //Image image = Image.FromFile(Server.MapPath("Resources/images/logo.jpg"));//读取图片
            //Graphics g = Graphics.FromImage(image);//创建画笔
            //g.DrawImage(image, 0, 0, image.Width, image.Height);//画图
            //SolidBrush drawBrush = new SolidBrush(Color.FromA#01154f);//创建刷子
            //Font drawFont = new Font("微软雅黑", 13, FontStyle.Regular);//设置地体
            //int xPos = 179; int yPos = 12;//设置位置
            ////g.DrawString(this.LoadUserName, drawFont, drawBrush, xPos, yPos);//写字
            //image.Save(Server.MapPath("Resources/images/logocs/" + this.LoadUser.Login + ".jpg"));//保存
            ////g.Dispose();//释放资源
            //image.Dispose();//释放资源
            //tabMain.Attributes.Add("style", "background:#d2e6fe url(Resources/Images/logocs/" + this.LoadUser.Login + ".jpg) no-repeat;height: 100%; overflow: hidden;");
        }

相关文章:

  • 2021-08-04
  • 2021-06-24
  • 2021-06-14
  • 2022-12-23
  • 2022-01-16
  • 2021-12-02
猜你喜欢
  • 2021-07-02
  • 2022-12-23
  • 2022-12-23
  • 2021-08-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案