| 注册
请输入搜索内容

热门搜索

Java Linux MySQL PHP JavaScript Hibernate jQuery Nginx
fmms
12年前发布

生成 PDF 文档的 C# 组件 Report.NET

     <p>Report.NET 是一个功能强大且易用的用来生成 PDF 文档的 C# 组件。<span style="font-family:Verdana, Arial, Helvetica, sans-serif;font-size:x-small;"><br /> - entirely written in C# for the Microsoft .NET framework<br /> - very compact code (Hello World: 6 lines)<br /> - supported graphic objects: text, lines, rectangles, jpeg images<br /> - easy alignment and transformation of graphic objects<br /> - ASP.NET can generate dynamic PDF pages<br /> - XML Documentation (Comment Web Pages)</span></p>    <p>示例代码:</p>    <pre class="brush:c#; toolbar: true; auto-links: false;">using Root.Reports; using System;  namespace ReportSamples {   /// <summary>Hello World (PDF Version)</summary>   class HelloWorld {     //----------------------------------------------------------------------------------------------------x     /// <summary>Starts the "Hello World" sample.</summary>     public static void Main() {       Report report = new Report(new PdfFormatter());       FontDef fd = new FontDef(report, "Helvetica");       FontProp fp = new FontPropMM(fd, 25);       Page page = new Page(report);       page.AddCenteredMM(80, new RepString(fp, "Hello World!"));       RT.ViewPDF(report, "HelloWorld.pdf");     }    } }</pre>    <p><strong>项目主页:</strong><a href="http://www.open-open.com/lib/view/home/1326792402202" target="_blank">http://www.open-open.com/lib/view/home/1326792402202</a></p>    <p></p>     
 本文由用户 fmms 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
 转载本站原创文章,请注明出处,并保留原始链接、图片水印。
 本站是一个以用户分享为主的开源技术平台,欢迎各类分享!
 本文地址:https://www.open-open.com/lib/view/open1326792402202.html
PDF PDF工具包