c#实现wpf绘制带坐标正弦曲线并输出到pdf文件中

上传者: winbo0509 | 上传时间: 2021-08-10 09:59:12 | 文件大小: 1.09MB | 文件类型: RAR
项目方的最初要求,除了输出到.docx没有实现外,其余要求都已经实现 1. In C# 2. The dll could generate pdf format, better with .docx also. 3. Here is the code I come up with, you don’t need to follow this, just for some ideas about the dll’s capability: ReportWriter.AddHeader("xxxx", [size], [other parameters]); ReportWriter.AddGraph(graph,[size]); .AddParagrah. .AddTable( table class) report should look like this: Header Graph Paragraph of text Table: showing a table with same test data. 4. Use wpf to draw some shape, and put them into report. 5. Has Preview function. 6. May have more than 2 pages.

文件下载

资源详情

[{"title":"( 36 个子文件 1.09MB ) c#实现wpf绘制带坐标正弦曲线并输出到pdf文件中","children":[{"title":"WpfApplication1","children":[{"title":"WpfApplication1","children":[{"title":"bin","children":[{"title":"Debug","children":[{"title":"WpfApplication1.exe <span style='color:#111;'> 19.00KB </span>","children":null,"spread":false},{"title":"WpfApplication1.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"WpfApplication1.vshost.exe <span style='color:#111;'> 11.33KB </span>","children":null,"spread":false},{"title":"WpfApplication1.pdb <span style='color:#111;'> 37.50KB </span>","children":null,"spread":false},{"title":"itextsharp.dll <span style='color:#111;'> 3.53MB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"App.xaml <span style='color:#111;'> 326B </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"x86","children":[{"title":"Debug","children":[{"title":"WpfApplication1_MarkupCompile.i.cache <span style='color:#111;'> 260B </span>","children":null,"spread":false},{"title":"App.g.i.cs <span style='color:#111;'> 2.18KB </span>","children":null,"spread":false},{"title":"WpfApplication1.csproj.FileListAbsolute.txt <span style='color:#111;'> 2.42KB </span>","children":null,"spread":false},{"title":"WpfApplication1.g.resources <span style='color:#111;'> 3.88KB </span>","children":null,"spread":false},{"title":"GenerateResource.write.1.tlog <span style='color:#111;'> 790B </span>","children":null,"spread":false},{"title":"App.g.cs <span style='color:#111;'> 2.18KB </span>","children":null,"spread":false},{"title":"WpfApplication1.exe <span style='color:#111;'> 19.00KB </span>","children":null,"spread":false},{"title":"WpfApplication1.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.21KB </span>","children":null,"spread":false},{"title":"MainWindow.g.cs <span style='color:#111;'> 7.07KB </span>","children":null,"spread":false},{"title":"WpfApplication1_MarkupCompile.cache <span style='color:#111;'> 260B </span>","children":null,"spread":false},{"title":"ResolveAssemblyReference.cache <span style='color:#111;'> 16.05KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 19.68KB </span>","children":null,"spread":false},{"title":"GenerateResource.read.1.tlog <span style='color:#111;'> 328B </span>","children":null,"spread":false},{"title":"TempPE","children":[{"title":"Properties.Resources.Designer.cs.dll <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"WpfApplication1.pdb <span style='color:#111;'> 37.50KB </span>","children":null,"spread":false},{"title":"MainWindow.g.i.cs <span style='color:#111;'> 7.07KB </span>","children":null,"spread":false},{"title":"MainWindow.baml <span style='color:#111;'> 3.66KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"App.xaml.cs <span style='color:#111;'> 311B </span>","children":null,"spread":false},{"title":"WpfApplication1.csproj <span style='color:#111;'> 4.35KB </span>","children":null,"spread":false},{"title":"MainWindow.xaml <span style='color:#111;'> 4.41KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 201B </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.81KB </span>","children":null,"spread":false}],"spread":true},{"title":"MainWindow.xaml.cs <span style='color:#111;'> 7.92KB </span>","children":null,"spread":false},{"title":"ReportWriter.cs <span style='color:#111;'> 5.29KB </span>","children":null,"spread":false}],"spread":true},{"title":"WpfApplication1.suo <span style='color:#111;'> 27.00KB </span>","children":null,"spread":false},{"title":"WpfApplication1.sln <span style='color:#111;'> 887B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • hezhichujian :
    这个参考很有用
    2015-12-25
  • trinco :
    挺有用的,好资源!
    2015-05-28
  • linhaiye_20083779 :
    示例代码不错,可以生成pdf报告,但是绘制的图形只能以图片的形式写入pdf中。总体不错,提供思路~
    2015-02-02
  • rentao315 :
    能用 谢谢 画曲线建议使用D3,很牛的开源第三方
    2014-07-15
  • dubiousway :
    xaml和c#代码综合使用的例子
    2014-06-17

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明