国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 開發 > 綜合 > 正文

利用C#制作公章

2024-07-21 02:26:52
字體:
來源:轉載
供稿:網友

代碼:
private void button1_click(object sender, system.eventargs e)
  {
   graphics g = this.creategraphics();
   g.clear(color.white);
   //g.interpolationmode = interpolationmode.highqualitybicubic;
   g.compositingquality = compositingquality.highquality;
   g.smoothingmode = smoothingmode.highquality;
           
   int radius = 200;
   circulartextuallayout ctl = new circulartextuallayout();
   ctl.radius = radius;
   point location = new point(50, 20);
   //ctl.centerpoint = new point(location.x + radius, location.y + radius);
   ctl.textdrawing = "方正姚體方正姚體方正姚體方正姚體";

   float arcangle = 270;
   ctl.arcangle = arcangle;
   ctl.anglestart = -arcangle/2 + arcangle/2/ctl.textdrawing.length;
   ctl.textfontinner = new font("方正姚體", radius/3.2f);
   ctl.ratiox = 0.6f;
   ctl.borderwidth = (int)(ctl.radius / 40);
   //ctl.isbold = false;
   ctl.location = location;
   ctl.wordscolor = color.fromargb(250, color.red);
   ctl.bordercolor = color.fromargb(250, color.red);
   ctl.rectcolor = color.fromargb(250, color.red);
   ctl.draw(g);

   g.dispose();
  }

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 浦城县| 东乡县| 郓城县| 乐至县| 临桂县| 乌兰浩特市| 德保县| 南漳县| 新河县| 乐安县| 峡江县| 裕民县| 噶尔县| 新化县| 宜昌市| 佳木斯市| 陵川县| 庆城县| 陕西省| 龙岩市| 汨罗市| 香港| 宁德市| 长治市| 大悟县| 巴塘县| 六盘水市| 兰坪| 宕昌县| 凤山市| 额敏县| 北京市| 习水县| 贵溪市| 新龙县| 大安市| 晋江市| 金川县| 汶上县| 德兴市| 商城县|